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,844 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
  • 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
In-place Upgrading Dirsync to Azure AD Connect
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

830 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