Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $URL = "https://qlf-filewave.domain.fr/api/clients/new_devices"
- $base64AuthInfo = "ooehfohhfoqhefohodqzdqzdqzdqehfoef="
- Invoke-RestMethod -Uri $URL -Headers @{ 'Authorization' = "Bearer $base64AuthInfo" } -OutFile "new_devices.json"
- $req = gc .\new_devices.json | ConvertFrom-Json
- $req | where-object status -eq "Conflicting with existing client" | Select-Object name, status
Add Comment
Please, Sign In to add comment