Good Morning all,
I am trying to execute a force synchronisation on our DirSync server remotely from my local machine - I am not getting any error but the script just continues running and doesn't force the sync. If I run the two commands in the scriptblock on the server itself it runs fine.
Please can somebody tell me what is wrong with this line of code
Invoke-Command-ComputerName<DirsyncServerFQDN>-ScriptBlock { Import-Module DirSync; Start-OnlineCoexistenceSync }