Skip to content

Releases: Azure/powershell

Azure PowerShell Action v3.0.0

Choose a tag to compare

@YanaXu YanaXu released this 23 Mar 07:01

What's Changed

  • Upgrade nodejs from 20 to 24 and update dependencies by @YanaXu in #115

Full Changelog: v2.0.0...v3.0.0

Azure PowerShell Action v3

Choose a tag to compare

@YanaXu YanaXu released this 23 Mar 07:02

What's Changed

  • Upgrade nodejs from 20 to 24 and update dependencies by @YanaXu in #115

Full Changelog: v2...v3

Azure PowerShell Action v2

Choose a tag to compare

@VeryEarly VeryEarly released this 27 Mar 07:23

What's Changed

  • Update the action to use Node.js 20 by @YanaXu in #100

Azure PowerShell Action v1.4.0

Choose a tag to compare

@YanaXu YanaXu released this 20 Nov 08:27
  • Supported macOS and self-hosted runners.

GitHub Action for Azure PowerShell

Choose a tag to compare

@aksm-ms aksm-ms released this 13 May 06:10

GitHub action for Azure PowerShell enables to automate your GitHub workflows using Azure PowerShell scripts.

Get started today with a free Azure account!

The definition of this GitHub Action is in action.yml.

End-to-End Sample Workflow

Login to Azure before running Azure PowerShell scripts using Azure Login. Refer Azure Login action on how to configure Azure credentials.

Once login is done, Azure PowerShell action will use the same session to run the script.

###Sample workflow to run inline script using Azure PowerShell

on: [push]

name: AzurePowerShellSample

jobs:

  build:
    runs-on: ubuntu-latest
    steps:
    
    - name: Login via Az module
      uses: azure/login@v1.1
      with:
        creds: ${{secrets.AZURE_CREDENTIALS}}
        enable-AzPSSession: true 
        
    - name: Run Azure PS script
      uses: azure/powershell@v1
      with:
        inlineScript: |
          Get-AzVM -ResourceGroupName "MyResourceGroup"
        azPSVersion: '3.1.0'

Azure PowerShell Script to be executed can be given under inlineScript as shown in the sample workflow.

Azure PowerShell Action v1.3.0

Choose a tag to compare

@YanaXu YanaXu released this 06 Nov 07:25
  • Updated the versions of dependencies.
  • Added an example to run a PowerShell script file.
  • Updated the User Agent of Azure PowerShell Action.

Updated with Node16 and Code scanning workflow for incoming changes

Choose a tag to compare

@BALAGA-GAYATRI BALAGA-GAYATRI released this 19 Nov 10:54
eb762bd
Merge pull request #71 from Azure/modules-fix

Modules fix