- Configure contact picture in Exchange 2010:
- Check Exchange Rollup Version
- List all Disconnected Exchange 2010 Mailboxes
- Enable execution of Powershell scripts
- Get mailbox copy status information
- Import PST Files
- Show all Mailboxes which are bigger than 400 mb and sorted
- Verify if the database is mounted on the server with preference 1 (with colors)}”
Import-RecipientDataProperty
-Identity MMM -Picture -FileData ([Byte[]]$(Get-Content -path
"c:\.jpg" -Encoding Byte -ReadCount 0))
Get-Command
Exsetup.exe | ForEach-Object {$_.FileVersionInfo}
Get-MailboxDatabase
| Get-MailboxStatistics | where {$_.DisconnectReason -ne $null} | ft
displayname,database,disconnectreason -auto
set-executionpolicy
remotesigned
Get-MailboxDatabaseCopyStatus
-Identity “Mailbox Database Name” | select
DatabaseName,Status,ActiveDatabaseCopy,ContentIndexState
Get-Mailbox
-Database “Mailbox Database Name”| Import-Mailbox -PSTFolderPath “Path import
pst file location”
Get-MailboxStatistics
-server “Mailbox Server Name”| Where-object {$_.TotalItemSize -gt 400mb} |
Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize
(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount >
"C:\Outputfile.txt"
Get-MailboxDatabase
| Sort Name | ForEach {$db=$_.Name; $xNow=$_.Server.Name
;$dbown=$_.ActivationPreference| Where {$_.Value -eq 1}; Write-Host $db “on” $xNow “Should be on”
$dbOwn.Key -NoNewLine; If ( $xNow -ne $dbOwn.Key){Write-host ” WRONG”
-ForegroundColor Red; } Else {Write-Host ” OK” -ForegroundColor Green}}