Advertisement
rj07thomas

Report back on WSUS service status

Aug 19th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. $wsusAppPoolState = Get-WebAppPoolState WsusPool
  2. $wsusDatabase = Get-Service 'MSSQL$MICROSOFT##WID'
  3. $wsusService = Get-Service WsusService
  4. $iisLog = Get-Service w3logsvc
  5. $iis = Get-Service W3SVC
  6. $procAct = Get-Service WAS
  7. $wuClient = Get-Service wuauserv
  8.  
  9. Write-Host $wsusAppPoolState
  10. $wsusDatabase
  11. $wsusService
  12. $iisLog
  13. $iis
  14. $procAct
  15. $wuClient
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement