PowerShell: Script failing because AD objects have not replicated soon enough

前端 未结 4 682
-上瘾入骨i
-上瘾入骨i 2021-01-16 03:05

I have a script that creates two groups, a hand full of folders, and sets permissions on those folders. In my testing environment all of these processes work without issue b

4条回答
  •  春和景丽
    2021-01-16 03:22

    In the past, when writing shell scripts, I've called NLTEST.EXE to point the current PC/server at a specific DC (I normally choose the PDC emulator). I can't remember which switch I used. Not sure if this will help.

提交回复
热议问题