mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-12 14:07:20 +02:00
Updated the manuals
This commit is contained in:
@ -6,7 +6,7 @@ This PowerShell script sets a timer for a countdown.
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./set-timer.ps1 [[-Seconds] <Int32>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/set-timer.ps1 [[-Seconds] <Int32>] [<CommonParameters>]
|
||||
|
||||
-Seconds <Int32>
|
||||
Specifies the number of seconds
|
||||
@ -66,7 +66,7 @@ try {
|
||||
Start-Sleep -seconds 1
|
||||
}
|
||||
|
||||
"✔️ $Seconds seconds countdown finished"
|
||||
"✅ $Seconds seconds countdown finished"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -74,4 +74,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of set-timer.ps1 as of 08/15/2024 09:50:53)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of set-timer.ps1 as of 11/08/2024 12:34:55)*
|
||||
|
Reference in New Issue
Block a user