@ -4004,7 +4004,7 @@ function WindowsCapabilities
DisableKeepAlive = $true
UseBasicParsing = $true
}
if (-not (Invoke-RestMethod @Parameters).StatusDescription)
if (-not (Invoke-WebRequest @Parameters).StatusDescription)
{
return
@ -4359,7 +4359,7 @@ function WindowsCapabilities
@ -5203,7 +5203,7 @@ function WindowsCapabilities
@ -5172,7 +5172,7 @@ function WindowsCapabilities
@ -4931,7 +4931,7 @@ function WindowsCapabilities
@ -4900,7 +4900,7 @@ function WindowsCapabilities