Skip to content

Instantly share code, notes, and snippets.

@eddiez9
Created February 11, 2020 05:11
Show Gist options
  • Save eddiez9/c21a9dc7fe8c31e0472efd7f22d29451 to your computer and use it in GitHub Desktop.
Save eddiez9/c21a9dc7fe8c31e0472efd7f22d29451 to your computer and use it in GitHub Desktop.
Create a spreadsheet of computers from information in AD
Get-ADComputer -Filter * -Property * | Select-Object Name,OperatingSystem,OperatingSystemVersion,ipv4Address | Export-CSV ADcomputerslist.csv -NoTypeInformation -Encoding UTF8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment