我想记录使用power shell在azure存储帐户中创建了多少文件共享。我的所有存储帐户都处于新的资源管理器模式。
谢谢Amit
下面的powershell脚本应该适合您。
$ctx = New-AzureStorageContext -StorageAccountName <storage-account-name> -StorageAccountKey <storage-account-key> (Get-AzureStorageShare -Context $ctx).count