Removes one or more XProtect Smart Client view groups.
Views groups are typically used in XProtect Smart Client and can contain one or more views with camera view items or other types of view items like maps, alarm lists, and images and browsers.
This cmdlet allows you to permanently delete one or more views group containers.
- 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 retrieve
a list of all view groups, present a grid view dialog where one view group
may be selected, and this view group is passed to
Remove-VmsViewGroup with the
-WhatIf switch to ensure that no view groups are actually deleted.
To delete a view group, you can omit the -WhatIf switch parameter. Add the -Verbose switch to see detailed messages for each deleted view group.
Specifies that all child members, including views and view groups, should be recursively removed.
Specifies one or more view groups to be permanently removed.
Prompts you for confirmation before running the cmdlet.
Shows what would happen if the cmdlet runs. The cmdlet is not run.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
On Milestone versions older than 2022 R2, the -Recurse switch does not work. You must delete all child views and view groups before you can delete the parent view group.
This is an issue with the configuration api service on the Management Server.