Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
2,277 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 

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 56

Accepted Solution

by:
McKnife earned 1000 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 56

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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

618 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