powershell updates
[webi-installers/.git] / vps-myip / install.ps1
index 2cde75ee6a777e0425960d48267b22a148fe7656..0d3c7447cb0d25297ba01a5ed0e58cddd67742a5 100644 (file)
@@ -2,12 +2,14 @@
 
 $ipv4 = curl.exe -sf https://api.ipify.org
 
-IF(!($ipv4 -eq $null -or $ipv4 -eq "")) {
+IF(!($ipv4 -eq $null -or $ipv4 -eq ""))
+{
     echo "IPv4 (A)   : $ipv4"
 }
 
 $ipv6 = curl.exe -sf https://api6.ipify.org
 
-IF(!($ipv6 -eq $null -or $ipv6 -eq "")) {
+IF(!($ipv6 -eq $null -or $ipv6 -eq ""))
+{
     echo "IPv6 (AAAA): $ipv6"
 }