Release notes

This is a list of changes made to Azure PowerShell in the latest releases.

Version 3.8.0

  • Compute
    • Fix bug in Get-* cmdlets, to allow retrieving multiple pages of data (more than 120 items)
  • DataLakeAnalytics
    • Fix help for some commands to have the proper verbage and examples.
  • DataLakeStore
    • Add support for head and tail to the Get-AzureRMDataLakeStoreItemContent cmdlet. This enables returning the top N or last N new line delimited rows to be displayed.
  • HDInsight
    • Added support for RServer cluster type
      • Edgenode VM size can be specified for RServer cluster in New-AzureRmHDInsightCluster or New-AzureRmHDInsightClusterConfig
      • RServer is now a configuration option in Add-AzureRmHDInsightConfigValues. It allows for RStudio flag to be set to indicate that R Studio installation should be done.
  • LogicApp
    • Set-AzureRmIntegrationAccountSchema and Set-AzureRmIntegrationAccountMap cmdlets are fixed for the contentlink issue(Both content and contentlink were set resulting in update failure).
  • Network
    • Added support for new web application firewall features to Application Gateways
      • Added New-AzureRmApplicationGatewayFirewallDisabledRuleGroupConfig
      • Added Get-AzureRmApplicationGatewayAvailableWafRuleSets (Alias: List-AzureRmApplicationGatewayAvailableWafRuleSets)
      • Updated New-AzureRmApplicationGatewayWebApplicationFirewallConfiguration: Added parameter -RuleSetType -RuleSetVersion and -DisabledRuleGroups
      • Updated Set-AzureRmApplicationGatewayWebApplicationFirewallConfiguration: Added parameter -RuleSetType -RuleSetVersion and -DisabledRuleGroups
    • Added support for IPSec policies to Virtual Network Gateway Connections
      • Added New-AzureRmIpsecPolicy
      • Updated New-AzureRmVirtualNetworkGatewayConnection: Added parameter -IpsecPolicies and -UsePolicyBasedTrafficSelectors
  • Profile
    • Obsolete: Save-AzureRmProfile is renamed to Save-AzureRmContext, there is an alias to the old cmdlet name, the alias will be removed in the next release.
    • Obsolete: Select-AzureRmProfile is renamed to Import-AzureRmContext, there is an alias to the old cmdlet name, the alias will be removed in the next release.
    • The PSAzureContext and PSAzureProfile output types of profile cmdlets will be changed in the next release.
    • The Save-AzureRmContext cmdlet will have no OutputType in the next release.
    • Fix bug in cmdlet common code to use FIPS-compliant algorithm for data hashes: https://github.com/Azure/azure-powershell/issues/3651
  • Sql
    • Bug fixes on Azure Failover Group Cmdlets
      • Fix for operation polling
      • Fix GracePeriodWithDataLossHour value when setting FailoverPolicy to Manual
  • TrafficManager
    • Support for the Geographic traffic routing method
      • New value 'Geographic' for the TrafficRoutingMethod parameter of New-AzureRmTrafficManagerProfile
      • New parameter 'GeoMapping' for the New-AzureRmTrafficManagerEndpoint and Add-AzureRmTrafficManagerEndpointConfig
      • Fix piping for Get-AzureRmTrafficManagerProfile when it returns a collection of profiles
  • ServiceManagement
    • Restart-AzureVM: Added InitiateMaintenance parameter for performing maintenance during VM restart.
    • Get-AzureVM: Added Maintenance Status field.
    • Added new cmdlets to support Recovery Services vault upgrade
      • Test-AzureRecoveryServicesVaultUpgrade
      • Invoke-AzureRecoveryServicesVaultUpgrade

Version 2.2.0

  • Compute
    • Add support for querying encryption status from the AzureDiskEncryptionForLinux extension
  • DataFactory
    • Added new cmdlet for listing activity windows
      • Get-AzureRmDataFactoryActivityWindow
  • DataLake
    • Changed parameter Host to DatabaseHost and added alias to Host
      • New-AzureRmDataLakeAnalyticsCatalogSecret
      • Set-AzureRmDataLakeAnalyticsCatalogSecret
    • Add support for ACL and Default ACL removal
    • Add support for getting and setting unnamed permissions on files and folders
  • KeyVault
    • Add support for certificates
      • Add-AzureKeyVaultCertificate
      • Add-AzureKeyVaultCertificateContact
      • Get-AzureKeyVaultCertificate
      • Get-AzureKeyVaultCertificateContact
      • Get-AzureKeyVaultCertificateIssuer
      • Get-AzureKeyVaultCertificateOperation
      • Get-AzureKeyVaultCertificatePolicy
      • Import-AzureKeyVaultCertificate
      • New-AzureKeyVaultCertificateAdministratorDetails
      • New-AzureKeyVaultCertificateOrganizationDetails
      • New-AzureKeyVaultCertificatePolicy
      • Remove-AzureKeyVaultCertificate
      • Remove-AzureKeyVaultCertificateContact
      • Remove-AzureKeyVaultCertificateIssuer
      • Remove-AzureKeyVaultCertificateOperation
      • Set-AzureKeyVaultCertificateAttribute
      • Set-AzureKeyVaultCertificateIssuer
      • Set-AzureKeyVaultCertificatePolicy
      • Stop-AzureKeyVaultCertificateOperation
  • Network

    • New switch parameter added for network interface to enable/disable accelerated networking -New-AzureRmNetworkInterface -EnableAcceleratedNetworking
    • Enable Active-Active gateway feature PowerShell cmdlets
      • Add-AzureRmVirtualNetworkGatewayIpConfig
      • Remove-AzureRmVirtualNetworkGatewayIpConfig
    • Added new cmdlet
      • Test-AzureRmPrivateIpAddressAvailability
  • Resources
    • Support zones in provider and resource cmdlets
      • Get-AzureRmProvider
      • New-AzureRmResource
      • Set-AzureRmResource
  • Sql
    • Added new cmdlets for Azure SQL threat detection policy management at server level
      • Get-AzureRmSqlServerThreatDetectionPolicy
      • Remove-AzureRmSqlServerThreatDetectionPolicy
      • Set-AzureRmSqlServerThreatDetectionPolicy
    • Added new cmdlets to support enabling/disabling GeoBackupPolicy for Sql Azure DataWarehouses
      • Get-AzureRmSqlDatabaseGeoBackupPolicy
      • Set-AzureRmSqlDatabaseGeoBackupPolicy
    • Added new cmdlets for Azure Sql Advisors and Recommended Actions APIs
      • Get-AzureRmSqlDatabaseAdvisor
      • Get-AzureRmSqlElasticPoolAdvisor
      • Get-AzureRmSqlServerAdvisor
      • Get-AzureRmSqlDatabaseRecommendedActions
      • Get-AzureRmSqlElasticPoolRecommendedActions
      • Get-AzureRmSqlServerRecommendedActions
      • Set-AzureRmSqlDatabaseAdvisorAutoExecuteStatus
      • Set-AzureRmSqlElasticPoolAdvisorAutoExecuteStatus
      • Set-AzureRmSqlServerAdvisorAutoExecuteStatus
      • Set-AzureRmSqlDatabaseRecommendedActionState
      • Set-AzureRmSqlElasticPoolRecommendedActionState
      • Set-AzureRmSqlServerRecommendedActionState

Version 1.7.0

  • Behavioral change for -Force, –Confirm and $ConfirmPreference parameters for all cmdlets. We are changing this implementation to be in line with PowerShell guidelines. For most cmdlets, this means removing the Force parameter and to skip the ShouldProcess prompt, users will need to include the parameter: ‘-Confirm:$false’ in their PowerShell scripts. This changes are addressing following issues:
    • Correct implementation of –WhatIf functionality, allowing a user to determine the effects of a cmdlet or script without making any actual changes
    • Control over prompting using a session-wide $ConfirmPreference, so that the user is prompted based on the impact of a prospective change (as reported in the ConfirmImpact setting in the cmdlet)
    • Cmdlet-specific control over confirmation prompts using the –Confirm parameter
    • Consistent use of ShouldContinue and the –Force parameter across cmdlets, for only those actions that would require prompting from the user due to the special nature of the changes (for example, deleting hidden files)
    • Consistency with other PowerShell cmdlets, so that PowerShell scripting knowledge from other cmdlets is immediately applicable to the Azure PowerShell cmdlets.

Notice that now to automatically skip all Prompts in all Circumstances Azure PowerShell cmdlets require the user to supply two parameters:

My-CmdletWithConfirmation –Confirm:$false -Force
  • Azure Compute
    • Set-AzureRmVMADDomainExtension
    • Get-AzureRmVMADDomainExtension
    • -Redeploy parameter for Restart-AzureVM
    • -Validate parameter for Move-AzureService, Move-AzureStorageAccount, and Move-AzureVirtualNetwork
    • Name and version parameters for extension cmdlets are optional as before.
    • New-AzureVM can get a license type from VM object.
  • Azure Storage
    • Change Tags Parameter to Tag, and add parameter alias Tags
      • New-AzureRmStorageAccount
      • Set-AzureRmStorageAccount
  • Azure Network
    • New cmdlet added for Virtual Network Peering
  • Azure Redis Cache
    • New cmdlet added for Reset-AzureRmRedisCache
    • New cmdlet added for Export-AzureRmRedisCache
    • New cmdlet added for Import-AzureRmRedisCache
    • Modified cmdlet New-AzureRmRedisCache to include parameter change for vNet
  • Azure SQL DB Backup/Restore
    • Cmdlets for LTR (Long Term Retention) backup feature
      • Get-AzureRmSqlServerBackupLongTermRetentionVault
      • Get-AzureRmSqlDatabaseBackupLongTermRetentionPolicy
      • Set-AzureRmSqlServerBackupLongTermRetentionVault
      • Set-AzureRmSqlDatabaseBackupLongTermRetentionPolicy
    • Restore-AzureRmSqlDatabase now supports point-in-time restore of a deleted database
    • Restore-AzureRmSqlDatabase now supports restoring from a Long Term Retention backup
  • Azure LogicApp
    • Added LogicApp Integration accounts cmdlets.
      • Get-AzureRmIntegrationAccountAgreement
      • Get-AzureRmIntegrationAccountCallbackUrl
      • Get-AzureRmIntegrationAccountCertificate
      • Get-AzureRmIntegrationAccount
      • Get-AzureRmIntegrationAccountMap
      • Get-AzureRmIntegrationAccountPartner
      • Get-AzureRmIntegrationAccountSchema
      • New-AzureRmIntegrationAccountAgreement
      • New-AzureRmIntegrationAccountCertificate
      • New-AzureRmIntegrationAccount
      • New-AzureRmIntegrationAccountMap
      • New-AzureRmIntegrationAccountPartner
      • New-AzureRmIntegrationAccountSchema
      • Remove-AzureRmIntegrationAccountAgreement
      • Remove-AzureRmIntegrationAccountCertificate
      • Remove-AzureRmIntegrationAccount
      • Remove-AzureRmIntegrationAccountMap
      • Remove-AzureRmIntegrationAccountPartner
      • Remove-AzureRmIntegrationAccountSchema
      • Set-AzureRmIntegrationAccountAgreement
      • Set-AzureRmIntegrationAccountCertificate
      • Set-AzureRmIntegrationAccount
      • Set-AzureRmIntegrationAccountMap
      • Set-AzureRmIntegrationAccountPartner
      • Set-AzureRmIntegrationAccountSchema
  • Azure Data Lake Store
    • Drastically improve performance of file and folder upload and download.
      • This includes a slight change to the parameter names for download and inclusion of two new parameters for upload:
        • NumThreads -> PerFileThreadCount, used to indicate the number of threads to use in a single file
        • ConcurrentFileCount, used to indicate the number of files to upload/download in parallel for folder upload/download.
      • Default threading values are now designed to give a better all around throughput for most file sizes. If performance is not as desired, the values above can be modified to meet requirements.
  • Azure Data Lake Analytics
    • Get-AzureRMDataLakeAnalyticsDataSource now returns all data sources when called with no arguments.
      • This change also removes the data source type parameter from the cmdlet.
      • This change results in a new object being returned for the list operation with the following properties:
        • Type, the type of data source
        • Name, the name of the data source
        • IsDefault, set to true if this is the default data source for the account
    • Get-AzureRMDataLakeAnalyticsJob fixed for list for certain date time offset values when filtering on submittedBefore and submittedAfter.
  • Web Apps
    • Add Swap-AzureRmWebAppSlot cmdlet for regular swap and swap with preview
    • Extend Set-AzureRmWebAppSlot cmdlet to support auto swap
  • Azure API Management
    • Fixed Azure Api Management Deployment cmdlets for AzureChinaCloud.
    • Removed cmdlet Set-AzureRmApiManagementTenantGitAccess as Git Access is enabled by Default.
  • Azure Recovery Services Backup
    • Added support for the Azure SQL workload
    • Added support for backing up and restoring encrypted Azure VMs
    • Backup-AzureRmRecoveryServicesBackupItem - Added optional retention time feature for recovery points
    • Minor filter-related bug fixes in Get-AzureRmRecoveryServicesBackupContainer and Get-AzureRmRecoveryServicesBackupItem cmdlets
  • Azure Automation
    • Added Get-AzureRmAutomationHybridWorkerGroup

Version 1.2.9

Changes This Release

  • AzureRm.AzureStackAdmin Module
    • Changes in the Add-AzureRmResourceProviderRegistration cmdlet for the support of Admin Azure resource manager and tenant azure resource manager split. A new parameter -ResourceManagerType has been added.
    • Removal of the parameters -AdminUri, -ApiVersion, -SubscriptionId and -Token from each cmdlets. We have been printing warnings that these parameters will be deprecated and now they got removed.
  • AzureStackStorage module
    • Added new cmdlets to support container migration scenarios.
    • Removed cmdlets referring to internal components and underlying features.
  • AzureRM.BootStrapper
    • Created new module to manage versions of Azure PowerShell cmdlets through the use of version profiles