Skip to content

Manual Installation

Peter Schulz edited this page Apr 21, 2015 · 1 revision

Manual installation of PowerShell SDK:

To install the snap-in, just download and extract the files in /bin/release and then follow these steps:

* Right-click each .dll, select "Properties" and Unblock the DLL (or just run "gci | Unblock-File" in PowerShell)
* Open a command prompt or PowerShell window as Administrator
* Navigate to the directory where you copied the binaries
* Run C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil -i .\ShareFileSnapIn.dll
* (for x64) Run C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil -i .\ShareFileSnapIn.dll
* Note: To uninstall, just run the above commands with -u instead of -i

Note: The PowerShell SDK is not signed, so you will need to modify the execution policy in PowerShell. The easiest way is to run "Set-ExecutionPolicy RemoteSigned", but check the documentation on script signing to understand what the security impact of your choices are. http://technet.microsoft.com/en-us/library/hh849812.aspx

Clone this wiki locally