Requirements

The Azure PowerShell Az module is the successor to the AzureRM module and is the primary module used in PowerZure, as it is handles the requests interacting with Azure resources.. The Az module interacts using the Azure REST API.

The AzureAD PowerShell module is also required. This module is used to make some AzureAD requests.

PowerZure requires an Administrative PowerShell (at least 5.0) session and the Az PowerShell module.


If you are in a tenant with multiple subscriptions, you must set your default subscription with

Set-AzureSubscription

Synopsis

Sets default subscription. Necessary if in a tenant with multiple subscriptions.

Syntax

Set-AzureSubscription -Id [Subscription ID]

Description

Sets the default subscription

Examples

Set-AzureSubscription -Id b049c906-7000-4899-b644-f3eb835f04d0

Parameters

-Id

Subscription ID

Output

Success message