i am looking syntax to for following scenarios
Get-ADComputer -Filter {OperatingSystem -like "*Windows 7 Enterprise*"}|Export-Csv C:\group1.CSV -NoTypeInformation
so i am getting actual report now question is what is command or syntax for export windows 7 enterprise machines from specific OU and specific domain. concern is before doing domain or enterprise level better check the result at test OU level so please give syntax of both OU and Domain level