I'm tying to write a larger script part of which runs an ADSync.
If I run Start-ADSyncSyncCycle -PolicyType Delta in PowerShell it will show Result Success
If I save this to a .PS1 script and run it, its does not show Result Success on the screen.
Does anyone know how I can get it to show the result in my script?
Thanks.