About the PowerShell Proxy Extensions Module

Create proxy functions without writing proxy command internals with the PowerShell Proxy Extensions module. Creating proxy functions has never been easier!

The module can be installed automatically by downloading the MSI package or manually by downloading a ZIP file.

The MSI package will install the module under your Documents folder in the following location:

%USERPROFILE%\Documents\WindowsPowerShell\Modules\pspx.

The ZIP file contents need to be manually extracted to one of the paths that is included as part of the PSModulePath environment variable. Typically users will unzip the contents of the ZIP file into the following folder:

%USERPROFILE%\Documents\WindowsPowerShell\Modules *
  • If the directory doesn't exist then you need to manually create it.

Prerequisites

Windows PowerShell 2.0 http://support.microsoft.com/kb/968929


How to use the module

Check if the module is installed correctly, from your PowerShell session type:

PS > Get-Module -Name pspx -ListAvailable

ModuleType Name                      ExportedCommands
---------- ----                      ----------------
Manifest   pspx                      {}


If you don't see the above result then the module was not installed correctly.

Importing the module

PS > Import-Module pspx

# Get a list of module exported commands.
PS > Get-Command -Module pspx | Format-Table CommandType,Name

CommandType     Name
-----------     ----
Alias           ...
Function        Export-Csv
Alias           Fix-It
Function        Get-ChildItem
Function        Get-Help
Function        Get-MamlHelp
Function        Get-ProxyFunction
Function        Get-PSCallStack
Function        Get-Service
Alias           gpx
Function        help
Function        New-ProxyFunction
Alias           npx
Alias           prop
Alias           proxy
Function        Select-Property

Last edited Jun 20, 2012 at 3:41 AM by poshoholic, version 13