Azure Storage PowerShell Reference
Welcome to the official Microsoft documentation for the Azure Storage PowerShell module. This module provides a comprehensive set of cmdlets for managing your Azure Storage resources directly from the PowerShell command line.
The Az.Storage module allows you to interact with various Azure Storage services, including:
- Blob Storage
- File Storage
- Queue Storage
- Table Storage
- Azure Data Lake Storage Gen2
Key Features
- Resource Management: Create, configure, and delete storage accounts, containers, blobs, file shares, queues, and tables.
- Data Operations: Upload, download, copy, and manage data within your storage services.
- Access Control: Configure access policies, shared access signatures (SAS), and role-based access control (RBAC).
- Performance Tuning: Manage replication, redundancy, and other settings for optimal performance.
- Integration: Seamlessly integrate with other Azure services through PowerShell scripting.
Getting Started
To use the Az.Storage module, you need to have the Azure PowerShell module installed. If you don't have it installed, you can install it using:
Install-Module -Name Az -Scope CurrentUser -Force -AllowClobber
Then, connect to your Azure account:
Connect-AzAccount
To ensure you have the latest version of the Az.Storage module, you can update it with:
Update-Module -Name Az.Storage
Discover Cmdlets
Explore the full list of available cmdlets to manage your Azure Storage resources effectively. You can filter and search for cmdlets based on the service or operation you need.
Common Use Cases
- Automating storage account creation and configuration.
- Bulk uploading or downloading files to/from Blob storage.
- Managing access permissions for containers and blobs.
- Scripting data migration tasks.
- Monitoring and managing storage costs.