Installing the PowerOrion Module

The simplest way to install the module is to create a "PowerOrion" directory in either one of these module folders, one for the system and one for the current user.

System: $pshome\Modules
(%windir%\System32\WindowsPowerShell\v1.0\Modules)

Current user: $home\Documents\WindowsPowerShell\Modules
(%UserProfile%\Documents\WindowsPowerShell\Modules)

- or -

$home\My Documents\WindowsPowerShell\Modules
(%UserProfile%\My Documents\WindowsPowerShell\Modules)

Then, in to this folder copy in the PowerOrion.psm1 and PowerOrion.psd1 files.

Finally, to load the module run

Import-Module PowerOrion

To see a list of all commands:
Get-Command -Module PowerOrion

There is also a script available (Install-PowerOrion.ps1), that when run without arguments (from the same folder as the .psm1 & .psd1 files), will create the PowerOrion (and Modules directory if required), and copy in the relevant files.

For more information on installing and using modules see

Get-Help About_Modules

Last edited Mar 27, 2014 at 11:32 AM by micheal100, version 1