Powershell错误删除未找到AzureStorageBlob方法:';无效的

Powershell错误删除未找到AzureStorageBlob方法:';无效的,azure,powershell,azure-storage,azure-powershell,Azure,Powershell,Azure Storage,Azure Powershell,调用删除AzureStorageBlobPowershell时出错 您的命令属于AzureRMpowershell模块。根据错误消息,您可能无法安装它,我可以在我这边复制您的问题 要解决此问题,请按照此文档安装AzureRMpowershell模块,然后它将正常工作: 除了之外,AzureRM模块基本上已经被弃用,我建议您使用新的Az模块。有关详细信息,请参阅:和。您的命令属于AzureRMpowershell模块。根据错误消息,您可能无法安装它,我可以在我这边复制您的问题 要解决此问题,请

调用删除AzureStorageBlobPowershell时出错


您的命令属于
AzureRM
powershell模块。根据错误消息,您可能无法安装它,我可以在我这边复制您的问题

要解决此问题,请按照此文档安装
AzureRM
powershell模块,然后它将正常工作:


除了之外,
AzureRM
模块基本上已经被弃用,我建议您使用新的
Az
模块。有关详细信息,请参阅:和。

您的命令属于
AzureRM
powershell模块。根据错误消息,您可能无法安装它,我可以在我这边复制您的问题

要解决此问题,请按照此文档安装
AzureRM
powershell模块,然后它将正常工作:


除了之外,
AzureRM
模块基本上已经被弃用,我建议您使用新的
Az
模块。有关更多详细信息,请参阅:和。

或者重新安装azure powershell。这个错误很奇怪,或者重新安装azure powershell。这个错误非常奇怪。最后,以下内容帮助了1。卸载Azure Powershell MSI 2。使用自定义powershell脚本卸载AzureRM 3的所有模块。问题解决后立即安装Az模块@现在接受你的答案。谢谢你的帮助最后以下帮助了1。卸载Azure Powershell MSI 2。使用自定义powershell脚本卸载AzureRM 3的所有模块。问题解决后立即安装Az模块@现在接受你的答案。谢谢你的帮助
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