Compare commits
3 Commits
c0f0bde6cf
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| d7b62549c7 | |||
| e4f5e7aa40 | |||
| 7f65239431 |
@@ -6,6 +6,7 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
$apikey = "xx"
|
$apikey = "xx"
|
||||||
|
$gotify = ""
|
||||||
|
|
||||||
# Script starts
|
# Script starts
|
||||||
$CurrentIP = Resolve-DnsName $Domain | Select-Object -ExpandProperty Ipaddress
|
$CurrentIP = Resolve-DnsName $Domain | Select-Object -ExpandProperty Ipaddress
|
||||||
@@ -39,5 +40,3 @@ if ($ifconfig.IP -ne $CurrentIP) {
|
|||||||
else {
|
else {
|
||||||
Write-Host -ForegroundColor Green "No change!"
|
Write-Host -ForegroundColor Green "No change!"
|
||||||
}
|
}
|
||||||
|
|
||||||
#}
|
|
||||||
Reference in New Issue
Block a user