4 ms·
I'm pretty sure Microsoft had this 15 years ago. AD is accessible through COM. Anything that's accessible through COM is scriptable in JS and VBScript (if it st
by 0xbear 9y ago
I'm pretty sure Microsoft had this 15 years ago. AD is accessible through COM. Anything that's accessible through COM is scriptable in JS and VBScript (if it still exists, it's been a while).
- Const-me 9y agoRight, the thing is called ADSI: https://msdn.microsoft.com/en-us/library/aa772170%28v=vs.85%29.aspx https://msdn.microsoft.com/en-us/library/aa772170%28v=vs.85%... Yes, both JScript (not the same as JavaScript, BTW) and VBScript are still supported and both are included in modern Windows versions. The project is still somewhat useful because it runs on any OS, not just Windows. It doesn’t use ADSI, it relies on this instead: http://ldapjs.org/ http://ldapjs.org/
- pjc50 9y ago.. and Powershell. It's very, very hard to discover what this API is though.
- youdontknowtho 9y agoOps project or PowerShell?
- pjc50 9y agoCOM APIs within powershell generally and AD ones in particular.
- flukus 9y agoIs this the API that the .net libraries are based on? If so it's the worst API I've ever used in my life. It's near impossible to test with and anything non-trivial can leave the system in god knows what state when something goes wrong.