Created
January 17, 2022 22:08
-
-
Save vukasinterzic/a04c7b2b2e051a966dba641948ef297f to your computer and use it in GitHub Desktop.
Create an Azure Automation Account with PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create an Azure Automation Account with PowerShell: | |
$automationAccount = @{ | |
Name = "MyAutomationAccount"; | |
ResourceGroupName = "MyResourceGroup"; | |
Location = "westus2"; | |
Tags = @{ | |
"Environment" = "Test"; | |
"Project" = "BlogPost"; | |
}; | |
} | |
New-AzAutomationAccount @automationAccount -AssignSystemIdentity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment