Created
April 24, 2014 03:39
-
-
Save loonison123/11240676 to your computer and use it in GitHub Desktop.
Set windows audio services to automatically start with PowerShell
This file contains hidden or 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
| # Get services related to audio | |
| Get-Service | Where {$_.Name -match "audio"} | format-table -autosize | |
| # Start the services | |
| Get-Service | Where {$_.Name -match "audio"} | start-service | |
| # Set the services startup types | |
| Get-Service | Where {$_.Name -match "audio"} | set-service -StartupType "Automatic" | |
| # Validate our startup changes (Should say- StartMode:Auto) | |
| Get-WmiObject -class win32_service -filter "Name='AudioSrv'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment