Az.Storage

2.7.0

Microsoft Azure PowerShell - Storage service data plane and management cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.  Creates and manages storage accounts in Azure Resource Manager.

For more information on Storage, please visit the following: https://docs.microsoft.com/azure/storage/

Minimum PowerShell version

5.1

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 Az.Storage -RequiredVersion 2.7.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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 Storage StorageAccount

Cmdlets

Get-AzStorageAccount Get-AzStorageAccountKey New-AzStorageAccount New-AzStorageAccountKey Remove-AzStorageAccount Set-AzCurrentStorageAccount Set-AzStorageAccount Get-AzStorageAccountNameAvailability Get-AzStorageUsage Update-AzStorageAccountNetworkRuleSet Get-AzStorageAccountNetworkRuleSet Add-AzStorageAccountNetworkRule Remove-AzStorageAccountNetworkRule Get-AzStorageTable New-AzStorageTableSASToken New-AzStorageTableStoredAccessPolicy New-AzStorageTable Remove-AzStorageTableStoredAccessPolicy Remove-AzStorageTable Get-AzStorageTableStoredAccessPolicy Set-AzStorageTableStoredAccessPolicy Get-AzStorageQueue New-AzStorageQueue Remove-AzStorageQueue Get-AzStorageQueueStoredAccessPolicy New-AzStorageQueueSASToken New-AzStorageQueueStoredAccessPolicy Remove-AzStorageQueueStoredAccessPolicy Set-AzStorageQueueStoredAccessPolicy Get-AzStorageFile Get-AzStorageFileContent Get-AzStorageFileCopyState Get-AzStorageShare Get-AzStorageShareStoredAccessPolicy New-AzStorageDirectory New-AzStorageFileSASToken New-AzStorageShare New-AzStorageShareSASToken New-AzStorageShareStoredAccessPolicy Remove-AzStorageDirectory Remove-AzStorageFile Remove-AzStorageShare Remove-AzStorageShareStoredAccessPolicy Set-AzStorageFileContent Set-AzStorageShareQuota Set-AzStorageShareStoredAccessPolicy Start-AzStorageFileCopy Stop-AzStorageFileCopy New-AzStorageAccountSASToken Set-AzStorageCORSRule Get-AzStorageCORSRule Get-AzStorageServiceLoggingProperty Get-AzStorageServiceMetricsProperty Remove-AzStorageCORSRule Set-AzStorageServiceLoggingProperty Set-AzStorageServiceMetricsProperty New-AzStorageContext Set-AzStorageContainerAcl Remove-AzStorageBlob Set-AzStorageBlobContent Get-AzStorageBlob Get-AzStorageBlobContent Get-AzStorageBlobCopyState Get-AzStorageContainer Get-AzStorageContainerStoredAccessPolicy New-AzStorageBlobSASToken New-AzStorageContainer New-AzStorageContainerSASToken New-AzStorageContainerStoredAccessPolicy Remove-AzStorageContainer Remove-AzStorageContainerStoredAccessPolicy Set-AzStorageContainerStoredAccessPolicy Start-AzStorageBlobCopy Start-AzStorageBlobIncrementalCopy Stop-AzStorageBlobCopy Update-AzStorageServiceProperty Get-AzStorageServiceProperty Enable-AzStorageDeleteRetentionPolicy Disable-AzStorageDeleteRetentionPolicy Enable-AzStorageStaticWebsite Disable-AzStorageStaticWebsite Get-AzRmStorageContainer Update-AzRmStorageContainer New-AzRmStorageContainer Remove-AzRmStorageContainer Add-AzRmStorageContainerLegalHold Remove-AzRmStorageContainerLegalHold Set-AzRmStorageContainerImmutabilityPolicy Get-AzRmStorageContainerImmutabilityPolicy Remove-AzRmStorageContainerImmutabilityPolicy Lock-AzRmStorageContainerImmutabilityPolicy Set-AzStorageAccountManagementPolicy Get-AzStorageAccountManagementPolicy Remove-AzStorageAccountManagementPolicy New-AzStorageAccountManagementPolicyFilter New-AzStorageAccountManagementPolicyRule Add-AzStorageAccountManagementPolicyAction Update-AzStorageBlobServiceProperty Get-AzStorageBlobServiceProperty Enable-AzStorageBlobDeleteRetentionPolicy Disable-AzStorageBlobDeleteRetentionPolicy Revoke-AzStorageAccountUserDelegationKeys Get-AzStorageFileHandle Close-AzStorageFileHandle New-AzRmStorageShare Remove-AzRmStorageShare Get-AzRmStorageShare Update-AzRmStorageShare Update-AzStorageFileServiceProperty Get-AzStorageFileServiceProperty Restore-AzRmStorageShare Get-AzDataLakeGen2ChildItem Get-AzDataLakeGen2Item New-AzDataLakeGen2Item Move-AzDataLakeGen2Item Remove-AzDataLakeGen2Item Update-AzDataLakeGen2Item Set-AzDataLakeGen2ItemAclObject Get-AzDataLakeGen2ItemContent Invoke-AzStorageAccountFailover Get-AzStorageBlobQueryResult New-AzStorageBlobQueryConfig New-AzStorageObjectReplicationPolicyRule Set-AzStorageObjectReplicationPolicy Get-AzStorageObjectReplicationPolicy Remove-AzStorageObjectReplicationPolicy Enable-AzStorageBlobRestorePolicy Disable-AzStorageBlobRestorePolicy New-AzStorageBlobRangeToRestore Restore-AzStorageBlobRange

PSEditions

Core Desktop

Dependencies

Release Notes

* Supported enable/disable/get share soft delete properties on file Service of a Storage account
   - 'Update-AzStorageFileServiceProperty'
   - 'Get-AzStorageFileServiceProperty'
* Supported list file shares include the deleted ones of a Storage account, and Get single file share usage
   - 'Get-AzRmStorageShare'
* Supported restore a deleted file share
   - 'Restore-AzRmStorageShare'
* Changed the cmdlets for modify blob service properties, won't get the original properties from server, but only set the modified properties to server.
   - 'Enable-AzStorageBlobDeleteRetentionPolicy'
   - 'Disable-AzStorageBlobDeleteRetentionPolicy'  
   - 'Enable-AzStorageBlobRestorePolicy'
   - 'Disable-AzStorageBlobRestorePolicy'
   - 'Update-AzStorageBlobServiceProperty'
* Fixed help issue for New-AzStorageAccount parameter -Kind default value [#12189]
* Fixed issue by add example to show how to set correct ContentType in blob upload [#12989]

Version History

Version Downloads Last updated
4.0.2-preview 7,507 12/20/2019
4.0.1-preview 717 10/9/2019
3.0.0 1,257,141 10/27/2020
2.7.0 (current version) 6,566,003 10/13/2020
2.6.1-preview 16 9/23/2020
2.6.0 208,091 9/22/2020
2.5.2-preview 1,671 8/26/2020
2.5.0 2,053,697 8/25/2020
2.4.0 587,618 8/4/2020
2.3.1-preview 31 7/29/2020
2.3.0 485,467 7/14/2020
2.2.0 533,809 6/23/2020
2.1.1-preview 366 6/5/2020
2.1.0 664,910 6/2/2020
2.0.1-preview 644 5/19/2020
2.0.0 405,581 5/19/2020
1.14.1-preview 262 4/27/2020
1.14.0 1,295,605 4/21/2020
1.13.4-preview 79 4/10/2020
1.13.3-preview 2,932 3/30/2020
1.13.1-preview 388 3/12/2020
1.13.0 1,147,729 3/10/2020
1.12.0 1,011,430 2/4/2020
1.11.1-preview 6,177 1/13/2020
1.11.0 484,788 1/7/2020
1.10.0 365,909 12/17/2019
1.9.1-preview 6,490 11/6/2019
1.9.0 1,083,994 11/4/2019
1.8.2-preview 448 10/24/2019
1.8.1-preview 77 10/23/2019
1.8.0 566,685 10/15/2019
1.7.0 202,027 9/24/2019
1.6.0 335,179 8/27/2019
1.5.1 328,887 7/30/2019
1.5.0 291,879 7/2/2019
1.4.0 173,322 6/18/2019
1.3.2-preview 113 6/11/2019
1.3.1-preview 681 5/28/2019
1.3.0 249,970 5/6/2019
1.2.1-preview 109 4/9/2019
1.2.0 397,151 4/9/2019
1.1.1-preview 6,381 12/21/2018
1.1.0 84,468 3/26/2019
1.0.3 58,191 3/12/2019
1.0.2 126,564 1/29/2019
1.0.1 95,682 1/15/2019
1.0.0 63,396 12/18/2018
0.10.0-preview 1,477 4/15/2020
0.7.0 12,264 12/4/2018
0.6.1 8,879 11/21/2018
0.5.0 9,504 11/6/2018
0.4.0 10,945 10/23/2018
0.3.0 10,648 10/9/2018
0.2.2 4,710 9/24/2018
0.1.0 299 8/28/2018