Please Visit: http://lifelongprogrammer.blogspot.com
Managing Services the PowerShell way – Part 3: Start and stop Services
http://4sysops.com/archives/managing-services-the-powershell-way-part-3/ get-service bits
stop-service bits -PassThru
get-service bits | where {$_.status -eq 'running'} | stop-service -pass
start-service wuauserv -PassThru
restart-service spooler -PassThru
get-service bits | select *
suspend-service o2flash -PassThru
resume-service o2flash -PassThru
Remote Services
Invoke-Command {restart-service dns –passthru} –comp chi-dc03,chi-dc02,chi-dc01
from Google Plus RSS Feed for 101157854606139706613 http://4sysops.com/archives/managing-services-the-powershell-way-part-3
via LifeLong Community
Managing Services the PowerShell way – Part 3: Start and stop Services
http://4sysops.com/archives/managing-services-the-powershell-way-part-3/ get-service bits
stop-service bits -PassThru
get-service bits | where {$_.status -eq 'running'} | stop-service -pass
start-service wuauserv -PassThru
restart-service spooler -PassThru
get-service bits | select *
suspend-service o2flash -PassThru
resume-service o2flash -PassThru
Remote Services
Invoke-Command {restart-service dns –passthru} –comp chi-dc03,chi-dc02,chi-dc01
from Google Plus RSS Feed for 101157854606139706613 http://4sysops.com/archives/managing-services-the-powershell-way-part-3
via LifeLong Community
No comments:
Post a Comment