PowerTip: Get a GUI interface for any PowerShell cmdlet

Doctor Scripto

Summary: Use the Show-Command to build PowerShell cmdlets.

Hey, Scripting Guy! Question I ran into a problem. Some cmdlets have too many parameters to list. Is there an easy way to build a cmdlet with its parameters for the console?

Hey, Scripting Guy! Answer You’ll love this trick! Just use the Show-Command cmdlet with any PowerShell cmdlet to get a GUI interface. In the following example, we use this with the Import-MDTDriver cmdlet.

When you are done, you will have three options: Run, Copy (for the clipboard), or Cancel.

Show-Command Import-MDTDriver

The Doctor


Discussion is closed.

Feedback usabilla icon