Page 1 of 1

Execute Exchange Server 2013 Powershell remotely as Scheduled task in server with no Exchange Management Shell installed

Posted: Sun Aug 05, 2018 7:02 am
by ITEngineer
Hi People,

As per this KB article, it is not working since my Exchange server is 2013: https://support.microsoft.com/en-au/hel ... nt-or-in-a

Can anyone here please share some tips and the steps to execute the below one line of PowerShell command daily once every 24 hours at 12:01 AM daily?

Code: Select all

Get-FederationTrust | Set-FederationTrust –RefreshMetadata 
Thanks in advance.

Re: Execute Exchange Server 2013 Powershell remotely as Scheduled task in server with no Exchange Management Shell insta

Posted: Sun Aug 05, 2018 8:34 am
by jvierra
I see no way to help you with this. Without the Exchange shell the code will not work. Execute this on the exchange server as the shell would be installed there.

The KB gives the exact command and how to schedule it. If it does not work you will need to contact MS support for help troubleshooting the issue.