
Master PowerShell concepts for Exchange server management, including object-based pipelines, get-help basics, aliases, and variables for mailbox scripting tasks.
Explore how to manage mailbox databases with the Exchange management shell, including creating, mounting, renaming, and removing databases, and controlling automatic mailbox distribution.
Learn to move Exchange database and log files to a new location using the management shell, including dismounting, remounting, and configuration-only updates.
Configure mailbox database storage limits using shell commands, set quota and warning thresholds, override limits per mailbox, and manage deleted item retention and backup retention in Exchange databases.
Use the Exchange management shell to report mailbox database sizes by querying Get mailbox database, selecting name and database size, and exporting the results to a report file.
Use PowerShell to count mailboxes in a database with methods like the current property, Measure-Object, and Select-Object with a calculated property.
Calculate the average mailbox size per database using the Exchange management shell, looping mailboxes, converting sizes to kilobytes, and measuring the result; include regular, archive, and disconnected mailboxes.
Explore the relationship between Windows Management Instrumentation (WMI) and Common Information Model (CIM), their DMTF standards, and how PowerShell enables remote and local management with both technologies.
Mailbox databases are where many Exchange problems start: full disks, oversized mailboxes, logs on the wrong volume. This short course shows the PowerShell commands that manage them, so you can look after your databases from the command line and answer questions about their size quickly.
How the course works
Each lecture takes one database task and shows it on a working Exchange server: the problem, the command and the result. The first lecture explains the PowerShell ideas used later, and a short introduction to WMI and CIM closes the course. You can repeat every step on a test server before using it in production.
Inside the course
The course is organised into these sections: Mailbox Database Management. Lectures you will find include: PowerShell Key Concepts; Managing the mailbox databases; Moving databases and logs to another location; Configuring the mailbox database limits; Reporting on mailbox database size; Finding the total number of mailboxes in a database; Determining the average mailbox size per database; Intro to WMI and CIM.
The course runs about 1.1 hours in 9 lectures. It is a focused course on mailbox databases only, so it does not cover installation, mail flow or mailbox tasks. It is a good fit if you want quick, repeatable commands for reporting and maintenance.