export all Computers with small filter

a short powershell script to export all Computers from a AD with description and a small filter

Get-ADComputer -Filter{name -like "M*-1"} -SearchBase "dc=domain,dc=de" -ResultSetSize $null -Prop description | Export-Csv Export.csv

Leave a Reply

Your email address will not be published. Required fields are marked *