Skip to main content

BackupOptions

Properties

NameTypeDescriptionNotes
IncludeTypes[]StringObject type names to be included in a Configuration Hub backup command.[optional]
ObjectOptionsmap[string]ObjectExportImportNamesAdditional options targeting specific objects related to each item in the includeTypes field.[optional]

Examples

  • Prepare the resource
$BackupOptions = Initialize-BackupOptions  -IncludeTypes null `
-ObjectOptions {"TRIGGER_SUBSCRIPTION":{"includedNames":["Trigger Subscription name"]}}
  • Convert the resource to JSON
$BackupOptions | ConvertTo-JSON

[Back to top]