Solved

Group Policy Management Script Reporting on Domain Policy

Posted on 2008-06-24
9
199 Views
Last Modified: 2010-03-17
Weekly I must use the MMC, use the group policy management tool

Click on the Group policy I am looking to report on "domain policy" and then save the report

Is there any way I can do this with a script automatically weekly and save the report wherever I want.
Please keep in mind I will be running this off an XP machine against my AD

Thanks
0
Comment
Question by:neoptoent
  • 5
  • 4
9 Comments
 
LVL 30

Accepted Solution

by:
LauraEHunterMVP earned 500 total points
Comment Utility
Look for the GetReportsForGPO.wsf file in the Program Files\GPMC\Scripts folder - built-in and will do what you are describing from the command-line.  getreportsforgpo.wsf /? will give you the full syntax, I think you need to enter the friendly name of the GPO that you want a report of, followed by the pathname that you want the report saved to. (Don't have GPMC in front of me right now or I'd verify.)
0
 

Author Comment

by:neoptoent
Comment Utility
Do I need to run that on the AD server?
I get a  (46,18) <null>a referrel was returned for the server
0
 

Author Comment

by:neoptoent
Comment Utility
I got past that error, when i try to type in the GPO name it gives me an error beacuse there is a space in the word

How can I enter it with a sapce?
0
 
LVL 30

Expert Comment

by:LauraEHunterMVP
Comment Utility
Offset the name with quotation marks.
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

Author Comment

by:neoptoent
Comment Utility
space sorry for the typo
0
 

Author Comment

by:neoptoent
Comment Utility
Great it is working, Now what is the best way to schedule this?
0
 
LVL 30

Expert Comment

by:LauraEHunterMVP
Comment Utility
Create a scheduled task on a server/workstation that has GPMC installed and that will be online at the time you want the job to run.
0
 

Author Comment

by:neoptoent
Comment Utility
Ok so then I have another question.

This job is going to run weekly to the same folder. I dont want it to replace the old one when it runs.. Is there a way for me to have it include the date in the name so that it is different each time it runs?

Zach
0
 
LVL 30

Expert Comment

by:LauraEHunterMVP
Comment Utility
The built-in script is WYSIWYG, you would need to save a copy of it and customize in order to modify its behavior as you are describing. You can open the wsf file in notepad and see if you can figure out how to modify the name of the file that's being output.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Learn about cloud computing and its benefits for small business owners.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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 …

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now