fixed typo & added Get-PsBeeps

This commit is contained in:
Floris van Enter
2018-01-19 12:56:33 +01:00
parent 0ced3bdf4b
commit c82ddcbdac
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,19 @@
function Get-PsBeeps (){
<#
.SYNOPSIS
Create random beeps
.DESCRIPTION
Beeps random beeps from the console. Press CRTL-C to break.
Written by Sten Lootens
.EXAMPLE
.\GetPsBeeps()
#>
While($true){
[Console]::Beep(
(Get-Random -Minimum 200 -Maximum 8000)
,500
)
}
}