Does anyone have a simple PowerShell script to delete a device out of Jamf via device serial number? I have a Mac sh script with curl, but need this in PowerShell.
Solved
PowerShell Script
Best answer by koalatee
Invoke-RestMethod -Uri $JAMFAPIURL/computers/serialnumber/$SERIALNUMBER -Credential $Creds -Method DELETE
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.