Hi,
I have the following code which populates an object in Powershell
$products = Invoke-WebRequest -Uri $uri -contentType "application/json" -Method Get -Headers $headers -UseBasicParsing | ConvertFrom-Json
$Length = $products.length
$Length
If I add a breakpoint in after $Length Length is set to null however there are 50 elements in $products. If I pause the code and check $products.length in VS it says 50 however Length is returning null and if I just show $products.length nothing shows up on the screen
Any help appreciated