Cmdlets for Microsoft Active Directory

Build 24.0.9060

Select-AD Cmdlet

Parameters   Output Objects  

Searches Microsoft Active Directory data.

Syntax

Select-AD [parameters]

Remarks

The Select-AD cmdlet allows you to use a syntax similar to SQL SELECT statements to search Microsoft Active Directory data.

$conn = Connect-AD -User 'MyUserName' -Password 'MyPassword' -Server 'MyServer' -Port 'MyPort' -BaseDN 'MyDN'
Select-AD -Connection $conn -Table "User" -Columns @("Id","CN") -Where "CN='Administrator'"

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060