I don't know when this started happening. I just know that recently, get-devicemanagement_manageddevices returned device objects. Now, it is returning four properties, with all the data crammed into the "value" property.
Where this used to work, just days ago:
$AllManagedDevices = get-devicemanagement_manageddevices | Where-Object {($_.azureADRegistered -eq $true) -and ($_.operatingsystem -eq "ios")}
Now, I need to do this:
$AllManagedDevices = (get-devicemanagement_manageddevices).value | Where-Object {($_.azureADRegistered -eq $true) -and ($_.operatingsystem -eq "ios")}
Is this expected behavior, and I'm just nuts (willing to accept that).
I don't know when this started happening. I just know that recently, get-devicemanagement_manageddevices returned device objects. Now, it is returning four properties, with all the data crammed into the "value" property.
Where this used to work, just days ago:
$AllManagedDevices = get-devicemanagement_manageddevices | Where-Object {($_.azureADRegistered -eq $true) -and ($_.operatingsystem -eq "ios")}
Now, I need to do this:
$AllManagedDevices = (get-devicemanagement_manageddevices).value | Where-Object {($_.azureADRegistered -eq $true) -and ($_.operatingsystem -eq "ios")}
Is this expected behavior, and I'm just nuts (willing to accept that).
Thank you