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

@ -33,7 +33,7 @@ If you to mail the sheet, fill in an email body
This is an optional parameter; if it is not included, an empty mail will be sent This is an optional parameter; if it is not included, an empty mail will be sent
.EXAMPLE .EXAMPLE
Read data from the SQL Server, save it in a file and mail it to floris@entermi.nl Read data from the SQL Server, save it in a file and mail it to floris@entermi.nl
download-CsvToSQL.ps1 -sqServer "SQL01" -database "migrate-data" -table "export" -url "http://localhost/data.csv" -file "c:\temp\file.csv" download-CsvToSQL.ps1 -sqlServer "SQL01" -database "migrate-data" -table "export" -url "http://localhost/data.csv" -file "c:\temp\file.csv"
.LINK .LINK
https://github.com/beakerflo/EnterMI https://github.com/beakerflo/EnterMI
#> #>

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
)
}
}