Exchange Server designed for and can be a powerful helper Script Agent is disabled by default., in our previous article Exchange Server Script Agent You can access the article we provide detailed information for below.
Table of Contents
Check Exchange Server Script Agent Status
Before enabling Script Agent, we need to check the Exchange Server Script Agent status in our environment.
For this process Get-CmdletExtensionAgent We need to use the command.
Get-CmdletExtensionAgent | ft name,enabled -auto

[PS] C:UsersAdministrator.ContosoDesktop>Get-CmdletExtensionAgent | ft name,enabled -auto
Creating a new session for implicit remoting of "Get-CmdletExtensionAgent" command...
Name Enabled
---- -------
Admin Audit Log Agent True
Rus Agent True
Provisioning Policy Agent True
Query Base DN Agent True
OAB Resources Management Agent True
Mailbox Resources Management Agent True
Scripting Agent False
Mailbox Creation Time Agent True
Here is where we need to check:Scripting Agent – False” section. As we mentioned at the beginning of the article, the Scripting Agent in Exchange Server is set to Default as “FalseIt comes as ”.
Enabling Exchange Server Script Agent
To enable Script Agent Enable-CmdletExtensionAgent we will use
Enable-CmdletExtensionAgent "Scripting Agent"

Script Agent After the activation process, click again to verify the transaction we made. Get-CmdletExtensionAgent we need to use and ScriptingAgent We need to display the section as True.
[PS] C:UsersAdministrator.CONTOSODesktop>Get-CmdletExtensionAgent | ft name,enabled -auto
Name Enabled
---- -------
Admin Audit Log Agent True
Rus Agent True
Provisioning Policy Agent True
Query Base DN Agent True
OAB Resources Management Agent True
Mailbox Resources Management Agent True
Scripting Agent True
Mailbox Creation Time Agent True

Now is ScriptingAgentConfig.xml Let's check that our file has been created.
D:Program FilesMicrosoftExchange ServerV15BinCmdletExtensionAgents
It will be sufficient to follow the above path from the drive where you installed the Exchange Server.
Similar Posts – Exchange Server Script Agent Activation
- Enabling Exchange Server Script Agent
- Exchange 441 4.4.1 Error encountered while communicating with primary target IP address: „421 4.4.2 Connection dropped due to SocketError.“ Attempted failover to alternate host, but that did not succeed.
- Exchange Server DAC Mode
- Search-AdminAuditLog: TLS 1.0 and TLS 1.1
One comment on “Enabling Exchange Server Script Agent”