Last active
January 15, 2023 07:13
-
-
Save sheepla/8b21a1b6ae440c19bec4fc99b5ae9453 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
gci -r -file -filter windows*.wav C:\Windows\Media\ | %{ | |
echo "Playing $($_.Name)..." | |
[System.Media.SoundPlayer]::new($_.FullName).PlaySync() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment