Active Directory schema attribute details



The Active Directory schema contains formal definitions of every attribute that can exist in an Active Directory object. 

$schema =[DirectoryServices.ActiveDirectory.ActiveDirectorySchema]::GetCurrentSchema()

$schema.FindClass('user').optionalproperties | Where-Object {$_.name -eq 'employeeid'}

No comments:

Post a Comment

Thank You.

https://linwintech.blogspot.com/