Created
April 11, 2017 19:54
-
-
Save dfranciscus/e378cd317585347fda699b6549f7847f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\ > Get-WmiObject -Class Win32_Service | where {$_.startmode -eq 'Auto'} | select Name -ExpandProperty Name | % {Get-Service -Name $_ | Where {$_.Status -eq 'Stopped'}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment