Improved the scripts

This commit is contained in:
Markus Fleschutz
2021-02-18 20:17:55 +01:00
parent d5032a9d02
commit 87409780ff
62 changed files with 221 additions and 202 deletions

View File

@ -8,13 +8,15 @@
#Requires -Version 3
param([string]$Username = "", [string]$Password = "")
param($Username = "", $Password = "")
if ($Username -eq "") {
$Username = read-host "Enter username for FRITZ!Box"
}
if ($Password -eq "") {
$Password = read-host "Enter password for FRITZ!Box"
}
write-progress "Contacting FRITZ!Box ..."
[string]$HostURL = "https://fritz.box:49443"
[string]$SOAPAction="urn:dslforum-org:service:Hosts:1#X_AVM-DE_GetHostListPath"