Skip to main content

Sedpatch

Properties

NameTypeDescriptionNotes
OpStringdesired operation[optional]
PathStringfield to be patched[optional]
ValueAnyTypevalue to replace with[optional]

Examples

  • Prepare the resource
$Sedpatch = Initialize-Sedpatch  -Op replace `
-Path status `
-Value approved
  • Convert the resource to JSON
$Sedpatch | ConvertTo-JSON

[Back to top]