Get-ADComputer -Filter * | Where-Object {$_.Name -like "NPI*"} | Select -Property Name | Sort Name | Export-Csv -Path "c:\data.csv"

JSN Epic template designed by JoomlaShine.com