O'Reilly logo

Windows PowerShell™ 2.0: Administrator’s Pocket Consultant by William R. Stanek

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

Working Remotely Without WinRM

Some cmdlets have a –ComputerName parameter that lets you work with a remote computer without using Windows PowerShell remoting. This means you can use the cmdlet on any computer that is running Windows PowerShell, even if the computer is not configured for Windows PowerShell remoting. These cmdlets include the following:

Get-WinEvent

Get-Counter

Get-EventLog

Clear-EventLog

Write-EventLog

Limit-EventLog

Show-EventLog

New-EventLog

Remove-EventLog

Get-WmiObject

Get-Process

Get-Service

Set-Service

Get-HotFix

Restart-Computer

Stop-Computer

Add-Computer

Remove-Computer

Rename-Computer

Reset-ComputerMachinePassword

Because these cmdlets don’t use remoting, you can run any of these cmdlets on a remote computer in a domain simply by specifying ...

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