hi
i have some exchange 2010 SP servers and want to delegate some tasks to some other guys so wanna use RBAC
i want those guys to have some commands in an specific OU and specific databases cause in that OU there are some people with a database i do not like to be touched and also that database has some mailboxes with users in other OU's
so i want filter on both database and OU but this command does not work
New-ManagementScope -Name "Test" -RecipientRoot "domain.com/myou" -RecipientRestrictionFilter {RecipientType -eq "UserMailbox"} -DatabaseRestrictionFilter {Name -Like "db*" }
Error
Parameter set cannot be resolved using the specified named parameters.
+ CategoryInfo : InvalidArgument: (:) [New-ManagementScope], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,New-ManagementScope
but when i do this separate foe each one it works
i mean this works
New-ManagementScope -Name "Test" -RecipientRoot "domain.com/myou" -RecipientRestrictionFilter {RecipientType -eq "UserMailbox"}
and also this :
New-ManagementScope -Name "Test" -DatabaseRestrictionFilter {Name -Like "db*" }
but along together, :-? the error above
what am i missing here ?
Payne is back