怎么样!
我需要一个解决方案,我需要添加一个管理单元 - 但不能。
我正在尝试在我公司的共享点站点上运行流程
因此真正的错误:Get-SPSite: 'Get SPSite' is not recognized as the name of a cmdlet, function, script file,..
需要添加一个管理单元来解决这个问题(从示例 3 系统地工作:来自站点http://technet.microsoft.com/en-us/library/hh849705(v=wps.620).aspx
我被第四个命令卡住了(不确定选择或下载哪个 installutil?):
It does not exist/ cannot find the installutil: ManagementCmdlets.dll
- 有人知道在哪里下载吗?
我尝试了一个名为Microsoft.PowerShell.Commands.Management.dll的文件
the installation failed, and the rollback has been performed
Powershell代码如下(如果这可能有帮助):
PS C:\Users\Gisintern1.PPF> get-pssnapin -registered
PS C:\Users\Gisintern1.PPF> set-alias installutil $env:windir\Microsoft.NET\Framework\v2.0.50727\installutil.exe
PS C:\Users\Gisintern1.PPF> installutil C:\Dev\Management\ManagementCmdlets.dll
**Microsoft (R) .NET Framework Installation utility Version 2.0.50727.5420
Copyright (c) Microsoft Corporation. All rights reserved.
Exception occurred while initializing the installation:
System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Dev\Management\ManagementCmdlets.dll' or one of its dependencies.
The system cannot find the file specified..