Aug 17, 2017
Could you paste the error message you get in terms of the line? And describe and the symptoms? I have not seen an issue regarding this particular line myself.
About your json question. Something like this?
Create new webclient object
$WebClient = New-Object System.Net.WebClient
Enable integrated authentication
$WebClient.UseDefaultCredentials = $true
Get the json objects
$Virtualservers = ($WebClient.DownloadString("https://loadbalancing.se/bigipreportdemo/json/virtualservers.json")) | ConvertFrom-Json
$Virtualservers.ip | select -unique | where-object { $_ -ne "N/A (Orphan pool)" }
/Patrik