I am in need to create a CSV file of a list of servers (WinServer 2008/2012). The list will show all of the server names and the current value of a given RSOP policy. THere are over 400 servers.
My intent is to create a Powershell script to scan the servers and report the values. Most of the guidance I receive returns a complete HTML or XML response. For example:
get-gpresultantsetofpolicy -reporttype xml -path c:\reports\LocalUserAndComputerReport.xml
Is there a way to just get the value of the policy I want so I can scan 400 servers and get the list I need?