我正在为PowerShell
Azure
命令
Get-AzureRmStorageAccountNameAvailability -Name '@Name'
来自IIS下托管的网站,但收到此错误。
The 'Get-AzureRmStorageAccountNameAvailability' command was found in the module
'AzureRM.Storage', but the module could not be loaded. For more information,
run 'Import-Module AzureRM.Storage'."
我也在类的构造函数中运行Import-Module
但它仍然失败。我的IIS
应用程序池具有管理员权限。