Azure PowerShell 5.0.0 Installer: link
Gallery Module for ARM Cmdlets: link
Gallery Module for Legacy Cmdlets for Service Management (RDFE): link
Changes in 5.0.0
NOTE: This is a breaking change release. Please see the migration guide for a full list of introduced breaking changes.
- All cmdlets in AzureRM now support online help
- Run Get-Help with the -Online parameter to open the online help in your default Internet browser
- AnalysisServices
- Fixed Synchronize-AzureAsInstance command to work with new AsAzure REST API for sync
- ApiManagement
- ApplicationInsights
- Add commands to get/create/remove applicaiton insights resource
- Get-AzureRmApplicationInsights
- New-AzureRmApplicationInsights
- Remove-AzureRmApplicationInsights
- Add commands to get/update pricing/daily cap of applicaiton insights resource
- Get-AzureRmApplicationInsights -IncludeDailyCap
- Set-AzureRmApplicationInsightsPricingPlan
- Set-AzureRmApplicationInsightsDailyCap
- Add commands to get/create/update/remove continuous export of applicaiton insights resource
- Get-AzureRmApplicationInsightsContinuousExport
- Set-AzureRmApplicationInsightsContinuousExport
- New-AzureRmApplicationInsightsContinuousExport
- Remove-AzureRmApplicationInsightsContinuousExport
- Add commands to get/create/remove api keys of applicaiton insights resoruce
- Get-AzureRmApplicationInsightsApiKey
- New-AzureRmApplicationInsightsApiKey
- Remove-AzureRmApplicationInsightsApiKey
- Add commands to get/create/remove applicaiton insights resource
- AzureBatch
- Added new parameters to
New-AzureRmBatchAccount
.PoolAllocationMode
: The allocation mode to use for creating pools in the Batch account. To create a Batch account which allocates pool nodes in the user's subscription, set this toUserSubscription
.KeyVaultId
: The resource ID of the Azure key vault associated with the Batch account.KeyVaultUrl
: The URL of the Azure key vault associated with the Batch account.
- Updated parameters to
New-AzureBatchTask
.- Removed the
RunElevated
switch. TheUserIdentity
parameter has been added to replaceRunElevated
, and the equivalent behavior can be achieved by constructing aPSUserIdentity
as shown below:- $autoUser = New-Object Microsoft.Azure.Commands.Batch.Models.PSAutoUserSpecification -ArgumentList @("Task", "Admin")
- $userIdentity = New-Object Microsoft.Azure.Commands.Batch.Models.PSUserIdentity $autoUser
- Added the
AuthenticationTokenSettings
parameter. This parameter allows you to request the Batch service provide an authentication token to the task when it runs, avoiding the need to pass Batch account keys to the task in order to issue requests to the Batch service. - Added the
ContainerSettings
parameter.- This parameter allows you to request the Batch service run the task inside a container.
- Added the
OutputFiles
parameter.- This parameter allows you to configure the task to upload files to Azure Storage after it has finished.
- Removed the
- Updated parameters to
New-AzureBatchPool
.- Added the
UserAccounts
parameter.- This parameter defines user accounts created on each node in the pool.
- Added
TargetLowPriorityComputeNodes
and renamedTargetDedicated
toTargetDedicatedComputeNodes
.- A
TargetDedicated
alias was created for theTargetDedicatedComputeNodes
parameter.
- A
- Added the
NetworkConfiguration
parameter.- This parameter allows you to configure the pools network settings.
- Added the
- Updated parameters to
New-AzureBatchCertificate
.- The
Password
parameter is now aSecureString
.
- The
- Updated parameters to
New-AzureBatchComputeNodeUser
.- The
Password
parameter is now aSecureString
.
- The
- Updated parameters to
Set-AzureBatchComputeNodeUser
.- The
Password
parameter is now aSecureString
.
- The
- Renamed the
Name
parameter toPath
onGet-AzureBatchNodeFile
,Get-AzureBatchNodeFileContent
, andRemove-AzureBatchNodeFile
.- A
Name
alias was created for thePath
parameter.
- A
- Changes to objects
- Please see the Batch change log for the full list
- Added support for Azure Active Directory based authentication.
- To use Azure Active Directory authentication, retrieve a
BatchAccountContext
object using theGet-AzureRmBatchAccount
cmdlet, and supply thisBatchAccountContext
to the-BatchContext
parameter of a Batch service cmdlet. Azure Active Directory authentication is mandatory for accounts withPoolAllocationMode = UserSubscription
. - For existing accounts or for new accounts created with
PoolAllocationMode = BatchService
, you may continue to use shared key authentication by retrieving aBatchAccountContext
object using theGet-AzureRmBatchAccoutKeys
cmdlet.
- To use Azure Active Directory authentication, retrieve a
- Added new parameters to
- Compute
- Azure Disk Encryption Extension Commands
- New Parameter for 'Set-AzureRmVmDiskEncryptionExtension': '-EncryptFormatAll' encrypt formats data disks
- New Parameters for 'Set-AzureRmVmDiskEncryptionExtension': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
- New Parameters for 'Disable-AzureRmVmDiskEncryption': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
- New Parameters for 'Get-AzureRmVmDiskEncryptionStatus': '-ExtensionPublisherName' and '-ExtensionType' allow switching to other versions of the extension
- Azure Disk Encryption Extension Commands
- DataLakeAnalytics
- Please see the migration guide for breaking changes made to DataLakeAnalytics this release
- Changed one of the two OutputTypes of Get-AzureRmDataLakeAnalyticsAccount
- List<DataLakeAnalyticsAccount> to List<PSDataLakeAnalyticsAccountBasic>
- The properties of PSDataLakeAnalyticsAccountBasic is a strict subset of the properties of DataLakeAnalyticsAccount
- The additional properties that are in DataLakeAnalyticsAccount are not returned by the service. Therefore, this change is to reflect this accurately. These additional properties are still in PSDataLakeAnalyticsAccountBasic, but they are tagged as Obsolete.
- Changed one of the two OutputTypes of Get-AzureRmDataLakeAnalyticsJob
- List<JobInformation> to List<PSJobInformationBasic>
- The properties of PSJobInformationBasic is a strict subset of the properties of JobInformation
- The additional properties that are in JobInformation are not returned by the service. Therefore, this change is to reflect this accurately. These additional properties are still in PSJobInformationBasic, but they are tagged as Obsolete.
- DataLakeStore
- Please see the migration guide for breaking changes made to DataLakeStore this release
- Changed one of the two OutputTypes of Get-AzureRmDataLakeStoreAccount
- List<PSDataLakeStoreAccount> to List<PSDataLakeStoreAccountBasic>
- The properties of PSDataLakeStoreAccountBasic is a strict subset of the properties of PSDataLakeStoreAccount
- The additional properties that are in PSDataLakeStoreAccount are not returned by the service. Therefore, this change is to reflect this accurately. These additional properties are still in PSDataLakeStoreAccountBasic, but they are tagged as Obsolete.
- Dns
- Support for CAA record types in Azure DNS
- Supports all operations on CAA record type
- Support for CAA record types in Azure DNS
- EventHub
- Please see the migration guide for breaking changes made to EventHub this release
- Insights
- Please see the migration guide for breaking changes made to Insights this release
- Network
- Please see the migration guide for breaking changes made to Network this release
- Added cmdlet to list available internet service providers for a specified Azure region
- Get-AzureRmNetworkWatcherReachabilityProvidersList
- Added cmdlet to get the relative latency score for internet service providers from a specified location to Azure regions
- Get-AzureRmNetworkWatcherReachabilityReport
- Profile
- Set-AzureRmDefault
- Use this cmdlet to set a default resource group. This will make the -ResourceGroup parameter optional for some cmdlets, and will use the default when a resource group is not specified
Set-AzureRmDefault -ResourceGroupName "ExampleResourceGroup"
- If resource group specified exists in the subscription, this resource group will be set to default. Otherwise, the resource group will be created and then set to default.
- Get-AzureRmDefault
- Use this cmdlet to get the current default resource group (and other defaults in the future).
Get-AzureRmDefault -ResourceGroup
- Clear-AzureRmDefault
- Use this cmdlet to remove the current default resource group
Clear-AzureRmDefault -ResourceGroup
- Add-AzureRmEnvironment and Set-AzureRmEnvironment
- Add the BatchAudience parameter, which allows you to specify the Azure Batch Active Directory audience to use when acquiring authentication tokens for the Batch service.
- Set-AzureRmDefault
- RecoveryServices.Backup
- Added cmdlets to perform instant file recovery.
- Get-AzureRmRecoveryServicesBackupRPMountScript
- Disable-AzureRmRecoveryServicesBackupRPMountScript
- Updated RecoveryServices.Backup SDK version to the latest
- Updated tests for the Azure VM workload so that, all setups needed for test runs are done by the tests themselves.
- Fixes #3164
- Added cmdlets to perform instant file recovery.
- RecoveryServices.SiteRecovery
- Changes for ASR VMware to Azure Site Recovery (cmdlets are currently supporting operations for Enterprise to Enterprise, Enterprise to Azure, HyperV to Azure)
- New-AzureRmRecoveryServicesAsrPolicy
- New-AzureRmRecoveryServicesAsrProtectedItem
- Update-AzureRmRecoveryServicesAsrPolicy
- Update-AzureRmRecoveryServicesAsrProtectionDirection
- Added support to AAD-based vault
- Added cmdlets to manage VCenter resources
- Get-AzureRmRecoveryServicesAsrVCenter
- New-AzureRmRecoveryServicesAsrVCenter
- Remove-AzureRmRecoveryServicesAsrVCenter
- Update-AzureRmRecoveryServicesAsrVCenter
- Added other cmdlets
- Get-AzureRmRecoveryServicesAsrAlertSetting
- Get-AzureRmRecoveryServicesAsrEvent
- New-AzureRmRecoveryServicesAsrProtectableItem
- Set-AzureRmRecoveryServicesAsrAlertSetting
- Start-AzureRmRecoveryServicesAsrResynchronizeReplicationJob
- Start-AzureRmRecoveryServicesAsrSwitchProcessServerJob
- Start-AzureRmRecoveryServicesAsrTestFailoverCleanupJob
- Update-AzureRmRecoveryServicesAsrMobilityService
- Changes for ASR VMware to Azure Site Recovery (cmdlets are currently supporting operations for Enterprise to Enterprise, Enterprise to Azure, HyperV to Azure)
- ServiceBus
- Please see the migration guide for breaking changes made to ServiceBus this release
- Sql
- Adding support for list and cancel the asynchronous updateslo operation on the database
- update existing cmdlet Get-AzureRmSqlDatabaseActivity to return DB updateslo operation status.
- add new cmdlet Stop-AzureRmSqlDatabaseActivity for cancel the asynchronous updateslo operation on the database.
- Adding support for Zone Redundancy for databases and elastic pools
- Adding ZoneRedundant switch parameter to New-AzureRmSqlDatabase
- Adding ZoneRedundant switch parameter to Set-AzureRmSqlDatabase
- Adding ZoneRedundant switch parameter to New-AzureRmSqlElasticPool
- Adding ZoneRedundant switch parameter to Set-AzureRmSqlElasticPool
- Adding support for Server DNS Aliases
- Adding Get-AzureRmSqlServerDnsAlias cmdlet which gets server dns aliases by server and alias name or a list of server dns aliases for an azure Sql Server.
- Adding New-AzureRmSqlServerDnsAlias cmdlet which creates new server dns alias for a given Azure Sql server
- Adding Set-AzurermSqlServerDnsAlias cmlet which allows updating a Azure Sql Server to which server dns alias is pointing
- Adding Remove-AzureRmSqlServerDnsAlias cmdlet which removes a server dns alias for a Azure Sql Server
- Adding support for list and cancel the asynchronous updateslo operation on the database
- Azure.Storage
- Upgrade to Azure Storage Client Library 8.5.0 and Azure Storage DataMovement Library 0.6.3
- Add File Share Snapshot Support Feature
- Add 'SnapshotTime' parameter to Get-AzureStorageShare
- Add 'IncludeAllSnapshot' parameter to Remove-AzureStorageShare
Changes since last release: Changes since last release: v4.4.1-October2017...v5.0.0-November2017