1)
Go to
Administrative Tools and open Active Directory Module for Windows PowerShell
2)
Open
3)
Use this command
Export computers from AD
Get-ADComputer -Filter * -Property * |
Select-Object
Name,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion |
Export-CSV AllWindows.csv -NoTypeInformation -Encoding UTF8
Source:
Export Users From AD
Get-ADUser -Filter *
-Properties * | select SamAccountName, DisplayName, EmailAddress, Title |
Export-CSV
"C:\users.csv"
Source
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.