[Az-Module] (https://github.com/rgel/Azure/tree/master/Az-Module)
To install this module, drop the entire 'Az-Module' folder into one of your module directories.
The default PowerShell module paths are listed in the $env:PSModulePath
environment variable.
To make it look better, split the paths in this manner: $env:PSModulePath -split ';'
The default per-user module path is: "$env:HOMEDRIVE$env:HOMEPATH\Documents\WindowsPowerShell\Modules"
.
The default computer-level module path is: "$env:windir\System32\WindowsPowerShell\v1.0\Modules"
.
To use the module, type following command: Import-Module Az-Module -Force -Verbose
.
To see the commands imported, type Get-Command -Module Az-Module
.
For help on each individual cmdlet or function, run Get-Help CmdletName -Full [-Online][-Examples]
.
To start using the module functions:
- Install Azure Resource Manager Module module from Microsoft PSGallery by
Install-Module AzureRM
. - Connect to your Azure account by
Login-AzureRmAccount
cmdlet. - Optionally, select your target subscription by
Select-AzureRmSubscription
cmdlet.
[Deploy-AzureVm.ps1] (https://github.com/rgel/Azure/blob/master/Deploy-AzureVm.ps1)
This script deploys multiple Azure VM from JSON templates.
In MSDN subscription it adds public IP and uses DHCP for internal IP address.
For all another subscriptions no Public IP created and static internal IP assigned.
[New-SecureCred.ps1] (https://github.com/rgel/Azure/blob/master/New-SecureCred.ps1)
This script creates file that contains encrypted password for Azure VM local admin account.
"adminPassword" parameter from JSON template.
[Iec_Msdn_Windows.json] (https://github.com/rgel/Azure/blob/master/Iec_Msdn_Windows.json)
JSON template example for standalone Azure Windows VMs in MSDN subscription.
[Iec_Msdn_Windows_AS.json] (https://github.com/rgel/Azure/blob/master/Iec_Msdn_Windows_AS.json)
JSON template example for Availability Set members Azure Windows VMs in MSDN subscription.