MIM — Cleanup Sets and Workflows with resourcemanagement-powershell
Published in
1 min readApr 8, 2019
Two scripts, which can be helpful when cleaning up the portal configuration. First you should manually delete unnecessary MPR’s, then the following scripts can be used to identify and delete unnecessary workflows and MPR’s.
The scripts are not polished, use at your own risk. Not all places where workflows and sets could be referenced might be checked. You should not delete sets and MPR’s created during the default installation.
Using resourcemanagement-powershell
For workflows the usage is checked in:
- MPR — ActionWorkflowDefinition
- MPR — AuthenticationWorkflowDefinition
- MPR — AuthorizationWorkflowDefinition
For sets the usage is checked in:
- MPR — ResourceCurrentSet
- MPR — ResourceFinalSet
- MPR — PrincipalSet
- Group — Filter
- Set — Filter
- Workflow — XOML