Skip to content

Instantly share code, notes, and snippets.

@bielawb
Created March 27, 2022 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bielawb/c62df9caa925937fc62c8f1bba82a53a to your computer and use it in GitHub Desktop.
Save bielawb/c62df9caa925937fc62c8f1bba82a53a to your computer and use it in GitHub Desktop.
Delete z ContentType
Invoke-RestMethod -Uri http://psu.contoso.com/dns/cname -Method Delete -Body @{
nazwa = 'test'
cel = 'host.contoso.com.'
} -UseDefaultCredentials -ContentType application/x-www-form-urlencoded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment