どう!
解決策が必要です。スナップインを追加する必要がありますが、追加できません。
会社の共有ポイント サイトでプロセスを実行しようとしています
したがって、実際のエラー: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から)
4 番目のコマンドで行き詰まっています (どの 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..