0%
Practice 2

Practice 2

This guide shows you how to configure Exchange Server with PowerShell - Option 2

10-15 min

Practice 2

Objectives

  • Configure Exchange Server with PowerShell
  • Manage shared mailboxes
  • Configure retention policies
  • Implement security

Prerequisites

  • An installed Exchange Server 2019 server
  • A working domain controller
  • Exchange administrator rights

Exercises

1. Configuring shared mailboxes

# Créer des boîtes aux lettres partagées
$SharedMailboxes = @(
    @{Name="Support"; Alias="support"; Email="support@lab.lan"},
    @{Name="Ventes"; Alias="ventes"; Email="ventes@lab.lan"},
    @{Name="RH"; Alias="rh"; Email="rh@lab.lan"}
)

foreach ($Mailbox in $SharedMailboxes) {
    New-Mailbox -Shared -Name $Mailbox.Name -DisplayName $Mailbox.Name -Alias $Mailbox.Alias -Database "DB01"
}
Link copied!