Consumption only environments
should be ignored:
- Legacy
- Portal does not even support creation of that kind of environments
Valid values of $ConfirmPreference:
function Test-ShouldProcess { | |
[CmdletBinding( | |
SupportsShouldProcess, | |
ConfirmImpact = 'High' | |
)] | |
param( | |
[Switch]$Force | |
) | |
Write-Verbose "`$PSCmdLet: $PSCmdLet" |
$mg = Get-AzManagementGroup -GroupName "test"