Permet d’afficher les taille des boites se trouvant dans une OU.
Get-Mailbox -OrganizationalUnit "domain.local/OU_FI00/OU_Compta" | Get-MailboxStatistics | Sort-Object -Property TotalItemSize -Descending | ft displayname, database, @{ expression={$_.TotalItemSize.Value.ToMB() } ;label="TotalItemSize (MB)" } |
Voici le fichier d’aide de Exchange 2010.
Exmon est un outil permetant de visualiser en temps réelle l’utilisation du serveur de boites aux lettres par les utilisateurs.

A télécharger ici.
Il m’est arrivé d’avoir des problème pour le lancer.
Message: Unknown StartTrace Error (183)
En passant les commandes suivantes, j’ai réussi à resoudre le problème.
Tracelog -l Tracelog -stop "Exchange Event Trace" |
Tracelog à télécharger ici.
Liste de raccourcis clavier pour Office Communicator.
Contact List
The following shortcut keys are available from the Office Communicator Contact List.
|
To do this |
Press |
| Call a selected contact using the most recently called number | CTRL + ENTER |
| Open the Conversation window to start an IM session with a selected contact | ENTER |
| Delete a selected contact | DELETE |
| Open System menu | ALT + Spacebar |
| Move a contact group up | ALT + up arrow |
| Move a contact group down | ALT + down arrow |
| Open the Contact Card for a selected contact | ALT + ENTER |
| Close the Contact Card | ESC |
| Copy selected item | CTRL + C |
| Paste selected item | CTRL + V |
| Open online Help | F1 |
| Navigate through Communicator | TAB |
| Reverse navigation direction | SHIFT + TAB |
| Add line break in Type a Note area | SHIFT + ENTER |
| Select multiple contiguous contacts | SHIFT + up arrow |
| Select multiple contiguous contacts | SHIFT + down arrow |
| Collapse group | Left arrow |
| Expand group | Right arrow |
Starting a Call or IM from Search Results
The following shortcut keys are available from the Search Results pane.
|
To do this |
Press |
| Open the Conversation window to start an IM with a selected contact in the Search Results pane | ENTER |
| Place a call to a selected contact in Search results. | CTRL + ENTER |
Opening and Closing the Communicator Window
|
To do this |
Press |
| Open Communicator | Windows Logo Key + Q |
| Minimize Communicator | ALT + F4 |
Making, Receiving, and Handling Calls
|
To do this |
Press |
| Call a selected contact in the Contact List using the last dialed number | CTRL + ENTER |
| Accept an audio, video or conference call invitation from an invitation alert | ALT + C |
| Decline an audio, video or conference call invitition from an invitation alert | ALT + D |
| Turn on/off High Importance alert. This shortcut is available from the Communicator Conversation window. | CTRL + SHIFT + I |
| Transfer a call. This shortcut is available from the Communicator Conversation window. | CTRL + SHIFT + T |
| Place a call on hold/Resume call. This shortcut is available from the Communicator Conversation window. | CTRL + SHIFT + H |
| Invite someone to a call. This shortcut is available from the Communicator Conversation window. | ALT + I |
| End a call. This shortcut is available from the Communicator Conversation window. | ALT + Q |
Invitation Alerts
|
To do this |
Press |
| Navigate to an invitation alert that appears on your computer screen | Windows Logo Key + T |
| Accept an invitation alert that appears on your computer screen. The invitation could be for an IM, an audio or video call, or a conference. | Windows Logo Key + A |
Conversation Window
The following shortcut keys are available from the Communicator Conversation window
|
To do this |
Press |
| Change the Conversation Subject from the Conversation winsow | CTRL + J |
| Invite someone to join the conversation | ALT + I |
| Rejoin an instant messaging conference | ALT + R |
| Call participant(s) in an IM conversation | CTRL + SHIFT + ENTER |
| Add video to a conversation | CTRL + D |
| Switch the video in the main video window to picture-in-picture | CTRL + SHIFT + S |
| Send a file | CTRL + F |
| Show/hide instant messaging area | CTRL + W |
| Show/hide participant list in the Conversation window | CTRL + R |
| Lock/unlock a conversation | CTRL + K |
| Start Office OneNote (Office OneNote must be installed) | CTRL + N |
| Save contents of an instant messaging session | CTRL + S |
| Cut selected text | CTRL + X |
| Copy selected text | CTRL + C |
| Paste selected text | CTRL + V |
| Select all text | CTRL + A |
| Add line break for a new paragraph in the instant message area | SHIFT + ENTER |
| Send instant message | ENTER |
| Delete text | DELETE |
| Undo action | CTRL + Z |
| Redo action | CTRL + Y |
| Transfer a call | CTRL + SHIFT + T |
| Place a call on hold/Resume call | CTRL + SHIFT + H |
Instant Messaging Area (Rich Text)
The following shortcut keys are available from the Instant Messaging area of the Communicator Conversation window.
|
To do this |
Press |
| Bold selected text | CTRL + B |
| Italicize selected text | CTRL + I |
| Underline selected text | CTRL + U |
| Strikethrough selected text | CTRL + T |
| Increase font size of selected text | CTRL + ] |
| Decrease font size of selected text | CTRL + [ |
| Change font | CTRL + SHIFT + F |
Quelques commandes type pour la recherche de messages dans les tracking logs.
Lister les messages à destination d’un serveur:
get-messagetrackinglog -Resultsize unlimited -Server "SrvHUB001" -Start "03/12/2009 12:00:00" -End "03/12/2009 13:00:00" | Where-Object { $_.ServerIp -eq "192.168.1.20" } |
Lister les messages à destination d’une adresse:
get-messagetrackinglog -Resultsize unlimited -Server "SrvHUB001" -Start "03/12/2009 20:35:00" -End "03/12/2009 20:36:00" | Where-Object { $_.Recipients -match "pere.noel@joyeux-noel.fr" } |
Lister les messages en provenance d’un domaine:
get-messagetrackinglog -Resultsize unlimited -Server "SrvHUB001" -Start "03/12/2009 20:35:00" -End "03/12/2009 20:36:00" | Where-Object { $_.Sender -match "@joyeux-noel.fr" } |
En filtrant le « EventID » il est possible savoir l’action sur le message. Ex: Receive, Send, Deliver, Fail…
Ce script permet de créer une archive datée d’un dossier.
$date = (Get-Date).ToString("ddMMyyyyhhmmss") $dir = Get-Item . $zipfilename = $dir.fullname + "\" + $dir.name + "-" + $date + "-archives.zip" set-content $zipfilename ("PK" + [char]5 + [char]6 + ("$([char]0)" * 18)) (Get-ChildItem $zipfilename).IsReadOnly = $false $shellApplication = new-object -com shell.application $zipPackage = $shellApplication.NameSpace($zipfilename) foreach($file in $input ) { $zipPackage.CopyHere($file.FullName) Start-sleep -milliseconds 500 } |
Exemple de syntaxe:
Get-Item . | .\create-zip.ps1 |
Permet de repasser les comptes OCS en PC to PC et désactiver le RCC.
Ne vide pas les champs d’adresses URI.
Permet d’ajouter les boites de plus de 400MB dans un groupe d’exclusion.
Couplé avec Désactive l’héritage du quota sur un groupe. permet la mise en place des quota en douceur.
Permet de copier les groupes dont est membre un utilisateur dans un autre utilisateur.
$users = Read-Host "Please enter the alias of the source user" $usert = Read-Host "Please enter the alias of the target user" $userg = Get-QADUser -Identity $users foreach ($group in $userg.memberof) { $adgroup = get-group -identity $group Add-QADGroupMember -Identity $adgroup.name -Member $usert } |

