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

Using Windows PowerShell remoting and WMI: Step-by-step exercises

In this exercise, you will practice using Windows PowerShell remoting to run remote commands. For the purpose of this exercise, you can use your local computer, but commands designed to fail (in the exercise) will more than likely succeed instead of creating the errors appearing here.

Using PowerShell remoting to retrieve remote information

  1. Log on to your computer with a user account that does not have administrator rights.

  2. Open the Windows PowerShell console.

  3. Use the Get-CimInstance cmdlet to retrieve process information from a remote system that has WMI remoting enabled on it. Do not supply alternate credentials. The command appears here:

    Get-CimInstance -CimSession w8s504 ...

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