Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # One-time module install
- # Install-Module -Name AudioDeviceCmdlets
- # Run the function every 10 seconds until cancelled
- while ($true) {
- Set-AudioDevice -RecordingVolume 100
- Write-Host "Set Mic"
- Start-Sleep -Seconds 10
- }
Advertisement
Add Comment
Please, Sign In to add comment