September 14th, 2012

PowerTip: Where Did that PowerShell Cmdlet Come From?

Doctor Scripto
Scripter

Summary: Determine the source of a particular Windows PowerShell cmdlet.

Hey, Scripting Guy! Question How can I tell if a Windows PowerShell cmdlet comes from one module or from another module?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet, and select the module property:

Get-Command unblock-file | select name, module

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.