Skip to main content

Sedpatch

Properties

NameTypeDescriptionNotes
OpStringdesired operation[optional]
PathStringfield to be patched[optional]
Value[AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4value 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]