Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.38 KB

INSTALL.md

File metadata and controls

28 lines (21 loc) · 1.38 KB

Installation instructions

PowerShell 5 and Windows 10

Install from PowerShell Gallery

Install-Module Gac

Chocolatey

Install from Chocolatey

choco install powershellgac

Otherwise

  1. Download PowerShell GAC
  2. Right click the zip file and choose Properties. Click Unblock and Ok. Or use PowerShell to unblock with Unblock-File. example of properties
  3. Extract zip file in "My Documents\WindowsPowerShell\Modules" so the files are in "My Documents\WindowsPowerShell\Modules\Gac".
  4. Open PowerShell verify the module can be found with Get-Module -ListAvailable. Make sure the PowerShell ExecutionPolicy is set to RemoteSigned or lower or the module fails to load. This can be done by calling Set-ExecutionPolicy RemoteSigned
  5. Use Import-Module Gac to import the module in PowerShell 2.0 This is not needed in PowerShell 3.0, since it auto loads modules it can find.

Change $env:PSModulePath when installing in a different path or for all users. Using the complete path when calling Import-Module also works.