Monthly Archives: June 2013
Today I found out – through troubles with GPOs – that 2 servers in a site are not replicating sysvol.
Used gpotool to confirm it’s a FRS issue. I recently copied some GPOs to this domain and GpoTool reported:
This article help me immensely
That’s all you need. Nothing more.
Just remember that all ADSI in Net Framework is defaulted to the current domain. There is never a need to set it like in VBScript. Just use the objects and they will all be defualted to the most commong and most useful values.
[adsi]” – gets the currect domain root.
[adsisearcher]” gets the searcher.
([adsiseracher]’samAccountName=john smith’).FindOne() #search for one user by samname