Welcome to MSDN Blogs Sign in | Join | Help

Decrypt my World

Cryptography, Security, Debugging and more!

Browse by Tags

All Tags » VBScript » ADSI   (RSS)
Sorry, but there are no more tags available to filter with.
How to get LastLogon property for all users in a Domain (VBScript)
Hi all, The following VBScript sample retrieves all users in Active Directory that haven't ever logged on the domain, or haven't logged on for at least maxDays (an argument passed to the script): On Error Resume Next ' Constants ' Const ONE_HUNDRED_NANOSECOND Read More...
How to get more than 1000 group members including foreign SAMs (VBScript)
Hi all, We may have a group in our Active Directory with members from a foreign domain . We may try to retrieve all those members with ADSI and a code like this: Using IADs::GetInfoEx for Range Retrieval . The issue with this code is that we will only Read More...
How to get a list of all users in an OU (VBScript)
Hi all, welcome back, Today I'll post a very straight forward sample which gets a list of all users in an Organizational Unit ( OU ) in Active Directory ( AD ) using VBScript : ' Get OU ' strOU = "OU=Users,DC=domain,DC=com" ' Create connection to AD ' Read More...
Page view tracker