Skip to main content

Configobject

Properties

NameTypeDescriptionNotes
VersionInt32Current version of configuration object.[optional]
SelfSelfimportexportdto[optional]
Object[map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4Object details. Format dependant on the object type.[optional]

Examples

  • Prepare the resource
$Configobject = Initialize-Configobject  -Version 1 `
-Self null `
-Object null
  • Convert the resource to JSON
$Configobject | ConvertTo-JSON

[Back to top]