JSONPath-Plus / JSONPath

A fork of JSONPath from http://goessner.net/articles/JsonPath/
Other
958 stars 169 forks source link

Does the cmdlet work ? #212

Closed TheHolyMecca closed 2 months ago

TheHolyMecca commented 2 months ago

Does the cmdlet work ? because can't make work with -bodyparameter or -devicecategory, eveytime he result with an error `$Params = @{ DeviceCategory = @{ "DisplayName" = "$NewCategory"} } | ConvertTo-Json try {

Changer la category

Update-MgDeviceManagementManagedDevice -ManagedDeviceId $Device -BodyParameter $Params `

Originally posted by @SamSepiolWarden in https://github.com/microsoft/Intune-PowerShell-SDK/issues/145

brettz9 commented 2 months ago

It seems you are not using jsonpath-plus.