Howsit!
I'm in need of a solution, I need to add a snap-in - and can't.
I'm attempting to run processes on my company's share-point site
Thus the real error: Get-SPSite: 'Get SPSite' is not recognized as the name of a cmdlet, function, script file,..
Need to Add a snap-in to solve this (working systematically from example 3: from the site http://technet.microsoft.com/en-us/library/hh849705(v=wps.620).aspx
I am stuck on fourth command (not sure which installutil to select or download?):
It does not exist/ cannot find the installutil: ManagementCmdlets.dll
- does anyone know where to download this?
I tried a file called Microsoft.PowerShell.Commands.Management.dll however
the installation failed, and the rollback has been performed
Powershell code is below (if this may help):
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..