Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Getting Start-ADSyncSyncCycle PS1 script to show results

$
0
0

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.


Viewing all articles
Browse latest Browse all 15370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>