Play Beeps From PowerShell
Sound a tone or a short melody through the PC speaker.
01Command
$ [console]::beep(523,200); [console]::beep(659,200); [console]::beep(784,400)02What it does
The .NET Console.Beep method plays a tone at a chosen frequency and duration. Chain several calls to make a melody, which is handy as an audible completion signal for long scripts. The second argument is milliseconds.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Console.Beep MethodEvidence: Documents playing a tone at a specified frequency and duration.
Last verified: 2026-09-20 · Category: System & Settings
06Related solutions
Use the System File Checker to verify every protected Windows system file against known-good copies and automatically replace the damaged ones.
Use Windows Package Manager to install, search, and upgrade thousands of applications from the community repository in one command.
Understand PowerShell's execution policy scopes and set the one that lets you run your own local scripts without gutting the security model.