IN THIS CHAPTER
Managing Windows services
Reading and modifying the registry
Modifying network settings
Retrieving performance counters
Setting regional settings
Maintaining local accounts
Configuring remote DCOM
This chapter covers a lot of ground because advanced server management is a complex subject. Microsoft has provided a hodgepodge of cmdlets in Windows PowerShell that can help with the various server management tasks. However, quite a few of these cmdlets are not designed to work against remote computers. In multiple cases, cmdlets within the same functional area will have different behaviors. For instance, the Set-Service cmdlet accepts a ComputerName parameter, whereas the rest of the *-Service cmdlets that modify services do not.
This chapter covers two options for managing remote servers. You can use remoting cmdlets such as the Invoke-Command cmdlet, or you can use WMI with a combination of methods. This chapter focuses on using WMI when a cmdlet does not accept the ComputerName parameter.
You manage services with the Get-Service, Stop-Service, Start-Service, Suspend-Service, Resume-Service, Restart-Service, and Set-Service cmdlets. Of these, the Get-Service and Set-Service cmdlets accept the ComputerName parameter. The remaining cmdlets require the remote server to be configured for remoting. As an alternative to remoting, you can manage services with the Get-WmiObject ...