Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Login-AzureRmAccount
Save-AzureRmProfile "$PSScriptRoot\.lgazureprofile"
Get-AzureRmResourceGroupDeployment -ResourceGroupName "something" | ForEach-Object { Start-
Job -ScriptBlock {
param($deployment)
Select-AzureRmProfile -Path "$PSScriptRoot\.lgazureprofile"
$deployment | Remove-AzureRmResourceGroupDeployment
} -ArgumentList $_ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.