Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Posts: 140
- Joined: Wed Oct 12, 2011 10:52 am
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.
/* IT Engineer */
- Posts: 13594
- Joined: Tue May 22, 2007 9:57 am
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.