Jerry Seinfield
asked on
How to obtain a list of all GPOs and the details of their policies in WIndows 2008 R2 forest/domain
Hello Experts,
I would like to obtain a list of all GPOs and the details of their policies in WIndows 2008 R2 forest/domain. Then need to export this list with details to a HTML page and/or cst/txt file
How can I accomplish this via Power shell and group policy management ?
Thanks in advance
I would like to obtain a list of all GPOs and the details of their policies in WIndows 2008 R2 forest/domain. Then need to export this list with details to a HTML page and/or cst/txt file
How can I accomplish this via Power shell and group policy management ?
Thanks in advance
ASKER
Can anyone from the Powershell team provide me with the scripts to obtain all GPO in a domain?
From PowerShell, I need to obtain a list of all GPOs and the details of their policies in WIndows 2008 R2 forest/domain. Then need to export this list with details to a HTML page and/or cst/txt file
From PowerShell, I need to obtain a list of all GPOs and the details of their policies in WIndows 2008 R2 forest/domain. Then need to export this list with details to a HTML page and/or cst/txt file
use
get-gporeport -all domain yourdomainhere -reporttype -html -path c:\reports.html
Thanks
Mike
get-gporeport -all domain yourdomainhere -reporttype -html -path c:\reports.html
Thanks
Mike
ASKER
The term get-gporeport is not recognized as the name of a cmdlet. I am running from a WIndows 2008 R2 server
Any ideas on why I got the error above?
Any other suggestions is highly appreciated
Any ideas on why I got the error above?
Any other suggestions is highly appreciated
ASKER
Anyone from Power Shell team that can help me with my request please?
Any ideas Subsun?
Any ideas Subsun?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did import the module group policy, then run the command again issues. please see attached file
getgporeporterror.jpg
getgporeporterror.jpg
ASKER
Any other suggestions?
ASKER
no comments
Was it solved, your syntax-problem? What is the correct syntax, then?
I did not answer any further because I had no clue what was wrong and was hoping for Mike to come back in.
I did not answer any further because I had no clue what was wrong and was hoping for Mike to come back in.
http://www.microsoft.com/en-us/download/details.aspx?id=14536
More on the scripts here http://gpfaq.se/scripts/gpmc-scripts/
Thanks
Mike