【发布时间】:2021-09-08 14:04:14
【问题描述】:
调用 Remove-AzureStorageBlob Powershell
时出错Remove-AzureStorageBlob -Container $ConName -Blob $BlobName -Context $Ctx Remove-AzureStorageBlob : Method not found: 'Void Microsoft.WindowsAzure.Storage.OperationContext.set_StartTime(System.DateTime)'. At line:1 char:1 + Remove-AzureStorageBlob -Container $ConName -Blob $BlobName -Context ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : CloseError: (:) [Remove-AzureStorageBlob], StorageException + FullyQualifiedErrorId : StorageException,Microsoft.WindowsAzure.Commands.Storage.Blob.RemoveStorageAzureBlobComm and
【问题讨论】:
-
或者,也许,重新安装 azure powershell。错误很奇怪
标签: azure powershell azure-storage azure-powershell