![](/img/trans.png)
[英]How to find who has deleted the file share folder from the storage account in azure
[英]How to find how many file share in azure Storage account using powershell ARM
我想使用power shell来记录在azure存储帐户中创建的文件共享数量。 我的所有存储帐户都处于新资源管理器模式。
谢谢阿米特
下面的powershell脚本应该适合您。
$ctx = New-AzureStorageContext -StorageAccountName <storage-account-name> -StorageAccountKey <storage-account-key>
(Get-AzureStorageShare -Context $ctx).count
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.