Computer Object path report


Get-Content “C:\temp\info.txt” | ForEach-Object{Get-ADComputer $_ -Properties Name,CanonicalName,Enabled,DNSHostname,OperatingSystem | Select-Object Name,CanonicalName,Enabled,DNSHostname,OperatingSystem} | Export-Csv c:\temp\report_computers.csv

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Design a site like this with WordPress.com
Get started