Mailbox automap

Get-MailboxPermission -Identity bcsupport -User hhe@dif.dk | fl Remove-MailboxPermission -Identity bcsupport -User hhe@dif.dk -AccessRights FullAccess add-MailboxPermission -Identity bcsupport -User hhe@dif.dk -AccessRights FullAccess -AutoMapping:$false Get-MailboxPermission -Identity regnskab@floorball.dk -User hhe@dif.dk | fl * Remove-MailboxPermission -Identity regnskab@floorball.dk -User hhe@dif.dk -AccessRights FullAccess add-MailboxPermission -Identity regnskab@floorball.dk…

Read More

clean old exchange atribute

get-aduser -filter * -SearchBase “OU=Stoppede brugere,OU=Monday,DC=Monday,DC=dk” | set-aduser -clear msExchMailboxGuid,msexchhomeservername,legacyexchangedn,mail,mailnickname,msexchmailboxsecuritydescriptor,msexchpoliciesincluded,msexchrecipientdisplaytype,msexchrecipienttypedetails,msexchumdtmfmap,msexchuseraccountcontrol,msexchversion,msExchMailboxGuid,msExchPoliciesIncluded,msExchRecipientDisplayType,msExchRecipientTypeDetails,msExchRemoteRecipientType,msExchTextMessagingState,msExchUMDtmfMap,msExchUserAccountControl,msExchVersion,msExchWhenMailboxCreated,msExchPreviousRecipientTypeDetails,msExchRecipientSoftDeletedStatus