O'Reilly logo

Windows PowerShell™ 3.0 Step by Step by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1 quick reference

To

Do This

Use an external command-line utility

Type the name of the command-line utility while inside Windows PowerShell.

Use multiple external command-line utilities sequentially

Separate each command-line utility with a semicolon on a single Windows PowerShell line.

Obtain a list of running processes

Use the Get-Process cmdlet.

Stop a process

Use the Stop-Process cmdlet and specify either the name or the process ID as an argument.

Model the effect of a cmdlet before actually performing the requested action

Use the -whatif argument.

Instruct Windows PowerShell to start up, run a cmdlet, and then exit

Use the PowerShell command while prefixing the cmdlet with & and enclosing the name of the cmdlet in curly brackets. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required