Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

what is command or syntax for export windows 7 enterprise machines from specific OU and specific domain.

$
0
0

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


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>