If I know a service name, and have enough permission, how do I set a Windows Service to be auto-restart in PowerShell?
I am using PowerShell 1.0, and the OS is Windows Server 2003.