Solved

How to obtain a list of all GPOs and the details of their policies in WIndows 2008 R2 forest/domain

Posted on 2013-11-11
10
1,943 Views
Last Modified: 2013-11-19
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
0
Comment
Question by:Jerry Seinfield
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
  • 2
10 Comments
 
LVL 57

Expert Comment

by:Mike Kline
ID: 39639667
You can use the scripts that come with GPMC, you can download them here

http://www.microsoft.com/en-us/download/details.aspx?id=14536

More on the scripts here   http://gpfaq.se/scripts/gpmc-scripts/

Thanks

Mike
0
 

Author Comment

by:Jerry Seinfield
ID: 39639791
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
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 39640033
use

get-gporeport -all domain yourdomainhere -reporttype -html -path c:\reports.html

Thanks

Mike
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:Jerry Seinfield
ID: 39640322
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
0
 

Author Comment

by:Jerry Seinfield
ID: 39641590
Anyone from Power Shell team that can help me with my request please?

Any ideas Subsun?
0
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 39642876
Could it be that you missed to ->
Import-Module -Name grouppolicy
?
Without, the cmdlet is missing, yes.
0
 

Author Comment

by:Jerry Seinfield
ID: 39643298
I did import the module group policy, then run the command again issues. please see attached file
getgporeporterror.jpg
0
 

Author Comment

by:Jerry Seinfield
ID: 39644750
Any other suggestions?
0
 

Author Closing Comment

by:Jerry Seinfield
ID: 39658141
no comments
0
 
LVL 54

Expert Comment

by:McKnife
ID: 39658689
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.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
A hard and fast method for reducing Active Directory Administrators members.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question