Enabling Exchange Server Script Agent

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.

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
image
[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"
1 picture

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
2 picture

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

One comment on “Enabling Exchange Server Script Agent”

Comment