Active Directory: User Info
/
2013-05-01
If you need some information from a user account you can use this script. user_info.ps1 #create table $tabName = “users” $table = New-Object system.Data.DataTable “$tabName” #create columns $name = New-Object system.Data.DataColumn name,([string]) $title = New-Object system.Data.DataColumn title,([string]) $department = New-Object system.Data.DataColumn department,([string]) $company = New-Object system.Data.DataColumn company,([string]) $telephonenumber = New-Object system.Data.DataColumn telephonenumber,([string]) $mobile = New-Object Read More