We have a number of servers that are not being remotely rebooted weekly via a script. This is the error i see in the event log but I cannot find a solution that works. This is from our utility box on Server 2012 r2 trying to reboot another server 2012 r2.
DCOM was unable to communicate with the computer ASHVWAPIWEB01.oecapplications.prod using any of the configured protocols; requested by PID 1374 (C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe).
Any thoughts how to fix this?