Automate Azure resource provisioning by scripting VM creation, storage accounts, and networking with PowerShell cmdlets instead of clicking through the web portal.
Manage Azure subscriptions and switch between tenants from a terminal on macOS or Linux using PowerShell 7.
Write a CI/CD pipeline step that deploys Azure resources using Az module cmdlets without any browser interaction.
Query and bulk-manage resources across multiple Azure subscriptions from a single PowerShell script.
Requires PowerShell 7 or Windows PowerShell 5.1 and an Azure account, initial login opens a browser OAuth window.
This is the official Microsoft repository for the Azure PowerShell module, also known as Az. It is a collection of commands (called cmdlets) that let developers and administrators manage Microsoft Azure resources from a command-line terminal or scripts, without needing to use the Azure web portal. Tasks like creating virtual machines, managing storage accounts, setting up networking, and deploying applications can all be scripted through this module. The Az module works on Windows, Linux, and macOS through PowerShell 7. It also runs on the older Windows PowerShell 5.1 with a compatible version of .NET. Azure Cloud Shell, which is Microsoft's browser-based terminal, comes with Az pre-installed. Installation on a local machine is a single command that downloads the module from the PowerShell Gallery. To get started, you run a login command that opens a browser window and prompts you to sign in with your Azure account. From there, you can query which subscriptions and tenants your account has access to, switch between them, and start running commands. Each command follows a consistent naming pattern (verb-noun, like Get-AzSubscription or New-AzResourceGroup), so the full list of available commands is discoverable through PowerShell's built-in help system. The module collects anonymous usage telemetry by default to help Microsoft identify common errors. This can be disabled with a single command if you prefer not to send that data. This is a large, actively maintained project with hundreds of sub-modules covering nearly every Azure service. The repository also includes a developer guide for contributors who want to add new cmdlets or fix existing ones.
← azure on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.