A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click 'Clears listbox results.Items.Clear() 'Connect to AD Database Dim rootEntry As New DirectoryEntry("GC://DC=TonyNet,DC=org", Domain.Text + userID.Text, password.Text) 'Set What you want to search for Dim searcher As New DirectorySearcher(rootEntry) searcher.PropertiesToLoad.Add("cn") searcher.PropertiesToLoad.Add("mail") 'Set Your Search Filter searcher.Filter = "(objectCategory=Computer)" 'Finds all Dim queryResults As SearchResultCollection queryResults = searcher.FindAll() 'Puts the results into a list Box Dim result As SearchResult For Each result In queryResults results.Items.Add(result.Properties("cn")(0)) Next End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Script or tool to automatically log off my AD account for all active processes?||5||29|
|Deploying additional Exchange Server 2013 standard SP1 mailbox server ?||10||24|
|disable group policy updates Locally on Windows 7 Domain||4||49|
|set-owner : The term 'set-owner' is not recognized as the name of a cmdlet||3||40|