XPSExplorer as it is currently written will not allow the deletion of an object if there are objects linked to it.
This is a problem with IdentityManager objects, IMSEnvironments in particular, as there are thousands of IMSAttributes related to each.
Obviously, XPSExplorer knows about those objects since it throws the warning.
This command should prompt you that there are linked objects and then ask if you want to delete the linked items, and then ask if you are really sure.
This functionality would allow users to resolve many issues with Identity Manager/Site Minder integration and policy store corruption.