Excluding multiple object types with the command line tool
Ben Mills
Posts: 50
I'm trying to exclude User and Role objects using the switch /exclude:User,Role
It has a very similar example in the help file, so I know this should work, but I'm getting an error message that this is an invalid value for switch /exclude
Please help.
Ben Mills
It has a very similar example in the help file, so I know this should work, but I'm getting an error message that this is an invalid value for switch /exclude
Please help.
Ben Mills
This discussion has been closed.
Comments
You would need to use a combination of two exclude switches to effect this filter. Because the format of the exclude switch is /exclude:<object type>:<object name>,<object name>, I'd imagine it wouldn't work to include more than one object type in an exclude switch because anything after the comma would be interpreted as an object name rather than an object type.
I used 2 exclude switches and that seems to work. Thanks very much.
However, it does have an example in the documentation for the toolkit that says that a comma delited list of object types should work for the /exclude switch.
Anyway, I'm happy. Thanks again.
Ben