ExchangeProvisioning installs Microsoft Exchange Server from ISO media, handling prerequisites and required reboots.
Use this resource when you need to perform a fresh installation of Exchange Server. It mounts the installation ISO, runs the setup with the specified roles, and handles pending reboots. This is the first Exchange resource to apply before ExchangeConfiguration, ExchangeMailboxDatabases, or ExchangeDagProvisioning.
Source |
|
DSC Resource |
|
Documentation |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
Role |
String |
Exchange server role to install |
|
|
Mode |
String |
Installation mode |
|
|
TargetDir |
String |
Target installation directory |
||
OrganizationName |
Mandatory |
String |
The Exchange organization name |
|
InstallCreds |
Mandatory |
PSCredential |
Credentials for Exchange installation |
|
DomainController |
String |
The domain controller to use |
||
ProductKey |
String |
The Exchange product key |
||
IsoFilePath |
Mandatory |
String |
Path to the Exchange installation ISO file |
|
IsoDriveLetter |
Mandatory |
String |
Drive letter to mount the ISO to |
ExchangeProvisioning:
Role: Mailbox
Mode: Install
OrganizationName: Contoso
InstallCreds: '[ENC=PE9ianMgVmVyc...=]'
IsoFilePath: C:\Install\ExchangeServer2016-x64-CU19.ISO
IsoDriveLetter: 'Z:'