Exports an XProtect Smart Client view group and all contents to a JSON file.
Exports an XProtect Smart Client view group and all contents to a JSON file which can be used to import the view group on the same Management Server, or a different Management Server.
The selected view group can be a top-level view group, or a child view group. However, if you import a view group which has directly-attached views that are not nested in a child view group, those views will be lost when importing the view group as a top-level view group.
- Requires VMS connection and will attempt to connect automatically
- Requires VMS version 21.1
After ensuring there is an open connection to the Management Server, we prompt for a view group selection. The selected view group is then exported to a json file at C:\temp\viewgroup.json.
Specifies that the destination directory should be created if it doesn't exist, and if the destination file exists, it should be overwritten.
Specifies the path to a file where a JSON representation of the view group will be saved
The view group to be exported, along with all child members, recursively.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.