regular to linked:
Set-User -id aaa -LinkedMasterAccount OLD\user -LinkedDomainController dc.old.local -LinkedCredential(get-credential)
Add-MailboxPermission -identity "aaa" -user "OLD\user" -AccessRights FullAccess -InheritanceType All
linked to regurlar:
Set-User -Identity aaa@new.ru -LinkedMasterAccount $null
!see mailbox permission too!
!enable user account aaa@new.ru too!
Set-User -id aaa -LinkedMasterAccount OLD\user -LinkedDomainController dc.old.local -LinkedCredential(get-credential)
Add-MailboxPermission -identity "aaa" -user "OLD\user" -AccessRights FullAccess -InheritanceType All
linked to regurlar:
Set-User -Identity aaa@new.ru -LinkedMasterAccount $null
!see mailbox permission too!
!enable user account aaa@new.ru too!
0 коммент.:
Отправить комментарий