$ctx=New-AzureStorageContext <accountname> <accountkey>
$s = New-AzureStorageShare <accountname> -Context $ctx
答案 0 :(得分:1)
我认为您正在寻找此cmdlet Arun:https://docs.microsoft.com/en-us/powershell/storage/azure.storage/v2.1.0/set-azurestoragesharequota
Set-AzureStorageShareQuota -ShareName "ContosoShare01" -Quota 1024
谢谢,蒂姆。