September 27th, 2015

PowerTip: Use PowerShell to Find Approved Verb

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to find an approved verb.

Hey, Scripting Guy! Question I want to write a new function that will connect a young Jedi Knight to the force by using the noun TheForce and
           the verb Use. How can I use Windows PowerShell to find if Use is an approved verb?

Hey, Scripting Guy! Answer Use the Get-Verb cmdlet and pass it to the verb:

Get-Verb Use

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.