MicrosoftDocs/azure-docs-powershell

the second "patch" code sample is invalid

Closed this issue · 2 comments

the hyphen before the method parameter needs to be removed when splatting, as is the case with the earlier examples on this page.

...
  } }'
  -Method = 'PATCH'
}
...

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@Mike-Crowley
Thanks for your feedback! We have assigned the issue to author who will provide further updates.

@Mike-Crowley Thanks for reporting this issue. Update forthcoming.