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.
PowerShell Compatibility
Windows PowerShell 2.0Windows PowerShell 3.0 (currently verified as working on the release preview)
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 Fix-It
Function Get-ProxyFunction
Function New-ProxyFunction
Alias npx
Alias proxy
Creating proxy functions
Many people believe the best way to learn is by example, and I'm no exception. To see what you can do with this module, take a look at the files in the demos folder under the module installation folder. These files contain commands that can be used to generate proxy functions quickly and easily without having to worry about setting up the functions themselves.