Pokud potřebujete vylistovat všechny mailboxy, které mají nastaveno SendOnBehalf, případně i uživatele, kteří toto právo mají, může se Vám hodit tento skriptík. Get-MailboxServer SERVER | Get-Mailbox -resultsize unlimited | Where {$_.GrantSendOnBehalfTo -ne $null} | select Name, @{Name=’GrantSendOnBehalfTo‘;Expression={[string]::join(„;“, ($_.GrantSendOnBehalfTo))}} | Export-CSV C:\SendOnBehalfTo.csv –noTypeInformation
Continue reading Export Exchange mailboxů s nastaveným SendOnBehalf