February 2013
Intermediate to advanced
632 pages
20h 20m
English
This chapter covers
Proxy functions are a neat—if little-used—aspect of PowerShell. A proxy is someone with the authority to act as you. A proxy function lets you replace a PowerShell command or function with a custom version while leveraging the internal functionality of the original. They’ve also been called “wrapper functions,” which is a good description, because they “wrap around” existing commands to provide a sort of custom interface to them.
Proxy functions are often used as a way of restricting or enhancing a PowerShell command. For example, you might take away parameters from ...