Skip to content

Instantly share code, notes, and snippets.

@vukasinterzic
Created January 17, 2022 22:08
Show Gist options
  • Save vukasinterzic/a04c7b2b2e051a966dba641948ef297f to your computer and use it in GitHub Desktop.
Save vukasinterzic/a04c7b2b2e051a966dba641948ef297f to your computer and use it in GitHub Desktop.
Create an Azure Automation Account with PowerShell
#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