fixed typo & added Get-PsBeeps
This commit is contained in:
parent
0ced3bdf4b
commit
c82ddcbdac
@ -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
|
||||||
#>
|
#>
|
||||||
|
19
PowerShell/function_get-psbeeps.ps1
Normal file
19
PowerShell/function_get-psbeeps.ps1
Normal 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
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user