Improved the scripts

This commit is contained in:
Markus Fleschutz
2021-01-27 15:12:17 +01:00
parent 676a0898a7
commit dcc52122c4
15 changed files with 92 additions and 96 deletions

View File

@ -85,7 +85,7 @@ function New-Request {
$script:secport = (New-Request -urn "urn:dslforum-org:service:DeviceInfo:1" -action 'GetSecurityPort' -proto 'http').Envelope.Body.GetSecurityPortResponse.NewSecurityPort
function Reboot-FritzBox() {
function Reboot-FritzBox {
$resp = New-Request -urn 'urn:dslforum-org:service:DeviceConfig:1' -action 'Reboot'
return $resp.Envelope.Body.InnerText
}