December 3rd, 2012

PowerTip: Examine the Value of PowerShell Default Parameter Values

Doctor Scripto
Scripter

Summary: Learn how to check to see what, if any, default Windows PowerShell parameter values are in effect.

Hey, Scripting Guy! Question How can I quickly check to see in Windows PowerShell is using any default parameter values?

Hey, Scripting Guy! Answer Examine the value of the $PSDefaultParameterValues automatic variable, as shown here.

$PSDefaultParameterValues

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.