AzureRM.Compute

2.4.0

Microsoft Azure PowerShell - Compute service cmdlets for Azure Resource Manager.  Manages virtual machines, hosted services, and related resources in Azure Resource Manager

Minimum PowerShell version

3.0

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AzureRM.Compute -RequiredVersion 2.4.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Microsoft Corporation

Copyright

Microsoft Corporation. All rights reserved.

Owners

Tags

Azure ResourceManager ARM Compute IAAS VM VirtualMachine

Cmdlets

Remove-AzureRmAvailabilitySet Get-AzureRmAvailabilitySet New-AzureRmAvailabilitySet Get-AzureRmVMExtensionImageType Get-AzureRmVMExtensionImage Get-AzureRmVMADDomainExtension Set-AzureRmVMADDomainExtension Get-AzureRmVMAEMExtension Remove-AzureRmVMAEMExtension Set-AzureRmVMAEMExtension Test-AzureRmVMAEMExtension Set-AzureRmVMBginfoExtension Get-AzureRmVMCustomScriptExtension Remove-AzureRmVMCustomScriptExtension Set-AzureRmVMCustomScriptExtension Get-AzureRmVMDiagnosticsExtension Remove-AzureRmVMDiagnosticsExtension Remove-AzureRmVmssDiagnosticsExtension Set-AzureRmVMDiagnosticsExtension Set-AzureRmVMExtension Remove-AzureRmVMExtension Get-AzureRmVMExtension Get-AzureRmVMSqlServerExtension New-AzureVMSqlServerAutoBackupConfig New-AzureVMSqlServerAutoPatchingConfig New-AzureVMSqlServerKeyVaultCredentialConfig Remove-AzureRmVMSqlServerExtension Set-AzureRmVMSqlServerExtension Get-AzureRmVMImage Get-AzureRmVMAccessExtension Remove-AzureRmVMAccessExtension Set-AzureRmVMAccessExtension Get-AzureRmVMImageSku Get-AzureRmVMImagePublisher Get-AzureRmVMImageOffer Get-AzureRmRemoteDesktopFile Get-AzureRmVMUsage Get-AzureRmVMSize Save-AzureRmVMImage Set-AzureRmVM Add-AzureRmVMAdditionalUnattendContent Add-AzureRmVMSshPublicKey Add-AzureRmVMSecret Remove-AzureRmVMSecret Remove-AzureRmVMNetworkInterface Remove-AzureRmVMDataDisk Set-AzureRmVMBootDiagnostics Set-AzureRmVMDataDisk Set-AzureRmVMPlan Set-AzureRmVMSourceImage Set-AzureRmVMOSDisk Get-AzureRmVMBootDiagnosticsData Get-AzureRmVM Update-AzureRmVM Restart-AzureRmVM New-AzureRmVM Start-AzureRmVM Stop-AzureRmVM Remove-AzureRmVM New-AzureRmVMConfig Set-AzureRmVMOperatingSystem Add-AzureRmVMDataDisk Add-AzureRmVMNetworkInterface Add-AzureRmVhd Save-AzureRmVhd Add-AzureRmContainerServiceAgentPoolProfile New-AzureRmContainerServiceConfig Remove-AzureRmContainerServiceAgentPoolProfile New-AzureRmContainerService Update-AzureRmContainerService Remove-AzureRmContainerService Get-AzureRmContainerService Get-AzureRmVmssVM Set-AzureRmVmssVM Add-AzureRmVmssAdditionalUnattendContent Add-AzureRmVmssExtension Add-AzureRmVmssNetworkInterfaceConfiguration Add-AzureRmVmssSecret Add-AzureRmVmssSshPublicKey Add-AzureRmVmssWinRMListener New-AzureRmVmssConfig New-AzureRmVmssIpConfig New-AzureRmVmssVaultCertificateConfig Remove-AzureRmVmssExtension Remove-AzureRmVmssNetworkInterfaceConfiguration Set-AzureRmVmssOsProfile Set-AzureRmVmssStorageProfile New-AzureRmVmss Update-AzureRmVmss Stop-AzureRmVmss Remove-AzureRmVmss Get-AzureRmVmss Get-AzureRmVmssSku Set-AzureRmVmss Restart-AzureRmVmss Start-AzureRmVmss Update-AzureRmVmssInstance Get-AzureRmVMDscExtensionStatus Publish-AzureRmVMDscConfiguration Remove-AzureRmVMDscExtension Set-AzureRmVMDscExtension Get-AzureRmVMDscExtension Add-AzureRmVmssDiagnosticsExtension Get-AzureRmVMChefExtension Remove-AzureRmVMChefExtension Set-AzureRmVMChefExtension Remove-AzureRmVMBackup Disable-AzureRmVMDiskEncryption Get-AzureRmVMDiskEncryptionStatus Remove-AzureRmVMDiskEncryptionExtension Set-AzureRmVMDiskEncryptionExtension Set-AzureRmVMBackupExtension

Dependencies

Release Notes

* Add Remove-AzureRmVMSecret cmdlet.
* Based on user feedback (https://github.com/Azure/azure-powershell/issues/1384), we've added a DisplayHint property to VM object to enable Compact and Expand display modes. This is similar to `Get -Date - DisplayHint Date` cmdlet. By default, the return of `Get-AzureRmVm -ResourceGroupName <rg-name> -Name <vm-name>` will be compact. You can expand the output using `-DisplayHint Expand` parameter.
* UPCOMING BREAKING CHANGE Notification: We've added a warning about removing ` DataDiskNames` and ` NetworkInterfaceIDs` properties from the returned VM object from `Get-AzureRmVm -ResourceGroupName <rg-name> -Name <vm-name` cmdlet. Please update your scripts to access these properties in the following way:
   - `$vm.StorageProfile.DataDisks`
   - `$vm.NetworkProfile.NetworkInterfaces`
* Updated Set-AzureRmVMChefExtension cmdlet to add following new options :
   - JsonAttribute : A JSON string to be added to the first run of chef-client. e.g. -JsonAttribute '{"container_service": {"chef-init-test": {"command": "C:\\opscode\\chef\\bin"}}}'
   - ChefServiceInterval : Specifies the frequency (in minutes) at which the chef-service runs. If in case you don't want the chef-service to be installed on the Azure VM then set value as 0 in this field. e.g. -ChefServiceInterval 45

Version History

Version Downloads Last updated
5.9.2 0 3/22/2021
5.9.1 31 11/21/2018
5.9.0 4 11/16/2018
5.8.0 2 11/2/2018
5.7.2 1 10/30/2018
5.7.1 3 10/19/2018
5.7.0 5 10/5/2018
5.6.1-preview 1 10/11/2018
5.6.0 9 9/17/2018
5.5.2 529 8/29/2018
5.5.1 13 8/24/2018
5.5.0 21 8/10/2018
5.4.0 177 7/27/2018
5.3.0 84 7/13/2018
5.2.0 31 6/29/2018
5.1.1 43 6/15/2018
5.1.0 44 6/1/2018
5.0.0 87 5/1/2018
4.6.1 6 5/1/2019
4.6.0 66 4/6/2018
4.6.0-preview 2 3/29/2018
4.5.0 34 3/23/2018
4.4.0 50 3/9/2018
4.3.2 83 2/23/2018
4.3.1 5 2/13/2018
4.3.0 45 2/9/2018
4.2.0 495 1/26/2018
4.1.1 52 12/9/2017
4.1.0 4 12/8/2017
4.0.3 3 2/8/2019
4.0.2 13 9/16/2018
4.0.1 9 11/10/2017
4.0.0 13 11/8/2017
3.4.1 5 10/12/2017
3.4.0 12 9/24/2017
3.3.1 7 8/16/2017
3.3.0 6 8/9/2017
3.2.1 6 7/18/2017
3.2.0 7 7/11/2017
3.1.0 337 6/8/2017
3.0.1 26 5/24/2017
3.0.0 9 5/9/2017
2.9.0 15 4/5/2017
2.8.0 2 3/9/2017
2.7.0 5 2/22/2017
2.6.0 5 2/8/2017
2.5.0 3 1/17/2017
2.4.0 (current version) 7 12/14/2016
2.3.0 6 11/1/2016
2.2.0 4 9/27/2016
2.1.0 13 9/8/2016
2.0.1 10 8/10/2016
2.0.0 5 8/8/2016
1.3.3 6 7/11/2016
1.3.2 9 6/24/2016
1.3.1 6 6/1/2016
1.3.0 8 5/4/2016
1.2.7 147 4/18/2016
1.2.6 5 4/5/2016
1.2.5 7 3/29/2016
1.2.4 6 3/4/2016
1.2.3.4 8 10/12/2017
1.2.3 13 2/10/2016
1.2.2.4 5 7/8/2017
1.2.2.3 7 3/14/2017
1.2.2.2 18 12/16/2016
1.2.2.1 13 9/8/2016
1.2.2 7 2/3/2016
1.2.1 5 1/12/2016
1.2.0 5 12/16/2015
1.1.0 8 11/9/2015
1.0.0 5 11/5/2015
0.10.0 5 10/8/2015
0.9.10 9 9/25/2015
0.9.9 3 9/24/2015
0.9.8 5 9/23/2015
Show less