August 7th, 2015

PowerTip: Find Cmdlets with NoNewLine Parameter

Doctor Scripto
Scripter

Summary: Easily find Windows PowerShell 5.0 cmdlets with the NoNewLine parameter.

Hey, Scripting Guy! Question I heard that Windows PowerShell 5.0 introduces a NoNewLine parameter for some cmdlets, but how can I
           find the cmdlets?

Hey, Scripting Guy! Answer Use the Get-Command cmdlet (gcm is an alias), and search for the ParameterName of NoNewLine:

gcm -ParameterName nonewline

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.

Feedback