July 15th, 2013

PowerTip: Find PowerShell Cmdlets that Accept Hash Table Input

Doctor Scripto
Scripter

Summary: Find Windows PowerShell cmdlets that accept a hash table for input.

Hey, Scripting Guy! Question How can I find what Windows PowerShell cmdlets accept a hash table for input?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet, use the ParameterName parameter, and search for HashTable information:

Get-Command -ParameterName *hashtable* 

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.