Top "Adsi" questions

Active Directory Services Interfaces

Getting AD Group Membership ADSI using PowerShell

I currently have ADSI code to get the groups a user is a part of: $searcher = [adsisearcher]"(samaccountname=$env:USERNAME)" $…

powershell adsi
Available fields for ADSI Linked in SQL Server

We currently have a View that queries active directory info. I was wondering if there was a good reference as …

sql-server active-directory reference view adsi
list all local users using directory services

The following method I created seem does not work. An error always happens on foreach loop. NotSupportedException was unhandled...The …

c# .net directoryservices adsi directorysearcher
Memory Leak when using DirectorySearcher.FindAll()

I have a long running process that needs to do a lot of queries on Active Directory quite often. For …

c# .net memory-leaks directoryservices adsi
Setting "Log on as a service" and "Allow logon locally" with ADSI

I am trying to create a powershell script to automate user creation which is working great using ADSI. However I …

powershell adsi
VBScript Error when calling GetObject("WinNT://JohnDoe,User")

I have code that hasn't been touched in over a year, but the DCs were upgraded from 2008 to 2008 R2. The …

vbscript active-directory activex adsi
Using LDAP or ADSI with Delphi for user account management

We have a large Transaction Processing System (batch processing) ERP Solution for large Healthcare claims processing organizations and businesses. We …

delphi active-directory ldap delphi-2010 adsi
Access denied adding domain user to local administrators group

When adding a domain user to the local administrators group I receive an access denied, this worked before and now …

powershell adsi
SQL Linked Server Query for AD Returns Msg 7321

So I have a SQL query that pulls data from our Active Directory without any issues (slimmed way down for …

sql sql-server active-directory adsi
Updating Active Directory user properties in Active Directory using Powershell

In a Windows Server 2003 R2 environment, using Powershell v2.0, how would one duplicate the functionality of Set-QADUser to update user …

windows powershell active-directory adsi