mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-27 09:08:58 +01:00
20 lines
293 B
PowerShell
20 lines
293 B
PowerShell
|
#!/snap/bin/powershell
|
||
|
|
||
|
# Syntax: ./simulate-presence.ps1
|
||
|
# Description: simulates the human presence against burglars
|
||
|
# Author: Markus Fleschutz
|
||
|
# Source: github.com/fleschutz/PowerShell
|
||
|
# License: CC0
|
||
|
|
||
|
function SwitchLight {
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
SwitchLight 1
|
||
|
sleep 60
|
||
|
SwitchLight 0
|
||
|
sleep 10
|
||
|
|
||
|
exit 0
|