mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-12-25 08:09:17 +01:00
20 lines
293 B
PowerShell
Executable File
20 lines
293 B
PowerShell
Executable File
#!/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
|