Enabling Remote WMI and DCOM

by Sep 14, 2011

Many cmdlets have a built-in -ComputerName parameter that will allow for remote access without using the new PowerShell remoting. For this to work, your firewall will need to be adjusted on the target machine:

In addition, some cmdlets (like Get-Service) will need the Remote Registry service to be running on the target side:

netsh firewall set service type = remoteadmin mode = enable
Start-Service RemoteRegistry
Set-Service RemoteRegistry -StartupType Automatic

Twitter This Tip!
ReTweet this Tip!