Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Forum rules
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.
-
ITEngineer
- Posts: 131
- Joined: Wed Oct 12, 2011 10:52 am
Post
by ITEngineer » Sun Aug 05, 2018 7:02 am
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.
/* IT Engineer */
-
jvierra
- Posts: 13128
- Joined: Tue May 22, 2007 9:57 am
-
Contact:
Post
by jvierra » Sun Aug 05, 2018 8:34 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.