TagExchange 2010

Exchange 2007/2010 – Hide users from global adress list (GAL)

Hide all users:

1, Connect PowerShell to Exchange.
2, Run the following command:
Get-Mailbox Alias | Set-Mailbox -HiddenFromAddressListsEnabled $True
Change Alias to your user’s information.

Hide users in a spesific OU

1, Connect PowerShell to Exchange.
2, Run the following command:
get-mailcontact -OrganizationalUnit “contoso.com/path/to/ou” | Set-mailContact -HiddenFromAddressListsEnabled $true -whatif

List users and size of mailbox in Exchange 2007 and 2010 with Powershell

Get-Mailbox | Get-MailboxStatistics | select-object DisplayName, {$_.TotalItemSize.Value.ToMB()}

Find emails with Powershell commandlets

Get-MessageTrackingLog -start “12/18/2011 08:00” -Sender user@domain.com | Format-List sender, Recipients, timestamp, MessageSubject

Get-MessageTrackingLog -MessageSubject Testsubject

Import PST file to exchange mailbox from Powershell

New-MailboxImportRequest –Mailbox bruker –FilePath \servermappenavn.pst

Get SMTP Adresses from Exchange 2007/2010 With Powershell

Get-Mailbox | select -expand EmailAddresses | %{$_.SmtpAddress}

© 2020 IdefixWiki

Theme by Anders NorénUp ↑