mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Updated the manuals
This commit is contained in:
@ -6,7 +6,7 @@ This PowerShell script simulates the human presence against burglars. It switche
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./simulate-presence.ps1 [[-IPaddress] <String>] [<CommonParameters>]
|
||||
/home/markus/Repos/PowerShell/scripts/simulate-presence.ps1 [[-IPaddress] <String>] [<CommonParameters>]
|
||||
|
||||
-IPaddress <String>
|
||||
Specifies the IP address of the Shelly1 device
|
||||
@ -66,7 +66,7 @@ try {
|
||||
& "$PSScriptRoot/switch-shelly1.ps1" $IPaddress off 0
|
||||
Start-Sleep -seconds 60 # off for 60 seconds
|
||||
}
|
||||
"✔️ Done."
|
||||
"✅ Done."
|
||||
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 simulate-presence.ps1 as of 08/15/2024 09:50:54)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of simulate-presence.ps1 as of 11/08/2024 12:34:55)*
|
||||
|
Reference in New Issue
Block a user