1
我想通过锻炼; Tibial在MSDN运行,并在任务2试图运行Add-PSSnapin Microsoft.WindowsAzure.ServiceRuntime当我得到一个错误:附加PSSnapin Microsoft.WindowsAzure.ServiceRuntime错误
添加-PSSnapin :无法加载Windows PowerShell管理单元Microsoft.WindowsAzure.ServiceRuntime因为有下列错误:
The Windows PowerShell snap-in module C:\Program Files\Windows Azure Integration Components\v1.6\Powershell\Microsoft.WindowsAzure.ServiceRuntime.Commands.dll does not have required Windows PowerShell snap-in strong name Microsoft.WindowsAzure.ServiceRuntime.Commands, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
At line:1 char:13
+ Add-PSSnapin <<<< Microsoft.WindowsAzure.ServiceRuntime
+ CategoryInfo : InvalidArgument: (Microsoft.WindowsAzure.ServiceRuntime:String) [Add-PSSnapin], PSSnapIn
Exception
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand
以前所有的任务都没有问题和任务2,步骤完成2规定“管理单元安装有集成组件并提供对Windows Azure运行时环境的访问“在以前的运动和任务中没有问题。有没有人遇到过这个问题?
这并没有帮助,我收到了同样的错误: 添加-PSSnapin:无法加载Windows PowerShell管理单元Microsoft.WindowsAzure.ServiceRuntime因为以下儿 ROR的:在Windows PowerShell管理单元模块C: \ Program Files \ Windows Azure集成组件\ v1.6 \ Powershell \ Micros oft.WindowsAzure.ServiceRuntime.Commands.dll没有必需的Windows PowerShell管理单元强名称Microsoft.Wi ndowsAzure.ServiceRuntime.Commands,Version = 1.0 .0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35。 –
PS C:\>得到-executionpolicy -list 范围ExecutionPolicy ----- --------------- MachinePolicy未定义 UserPolicy未定义 过程无限制 CurrentUser无限制 LOCALMACHINE无限制 –
另一种可能性是您没有正确安装Windows Azure PowerShell插件。请尝试重新安装它。此主题可能有所帮助:http://www.powershellcommunity.org/Forums/tabid/54/aft/860/Default.aspx。 –