Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.
Some article numbers may have changed. If this isn't what you're looking for, try searching all articles. Search articles

Windows Active Directory GPO Management using PowerShell.

Summary: Instructions below give examples of PowerShell commands available to gather a list of GPOs found in a specific Windows Active Directory Domain. TSDOMAIN.Local is an example in commands below and should be replaced with the domain name where we are gathering the GPO information. ...

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

Steps below use Windows PowerShell to manage Active Directory Windows Group Policy Objects.
  1. Command example below returns all GPOs found in the specified Domain:
Get-GPO -All -Domain “TSDOMAIN.local”

 


Command example below returns all GPOs found
 
  1. Get-GPO can be used to return general information for a specific GPO.  Example below will return general information for the “Team_WP” GPO:
Get-GPO -Name Team_WP

 

Get-GPO can be used to return general information for a specific GPO.
 
  1. GPO information can be returned by querying the GPO’s GUID ID; command below is an example:
Get-GPO -Guid cb6fe78f-8b4f-4a77-9320-6a087a9d2bcc -Domain “TSDOMAIN.local”


GPO information can be returned by querying the GPO’s GUID ID
  1. Get-GPOReport command below will return a comprehensive report for all domain GPOs found, compiling the information in HTML format for review.
Get-GPOReport -All -Domain “TSDOMAIN.Local” -ReportType HTML -Path “C:\GPOReports\GPOReportsAll.html”

 

Get-GPOReport command below will return a comprehensive report for all domain GPOs found.
 
  1. After running Get-GPOReport an HTML file is created at the file path designated in command above.
HTML file is created at the file path
 
  1. The file when opened will come up as a browser page with extensive detail about all Domain GPOs found.

File when opened will come up as a browser page with extensive detail about all Domain GPOs found
 
 

Additional Information

Refer to this video:


Article Properties


Affected Product
Software, Dell Quickstart Data Warehouse Appliance, Microsoft Windows Server 2016, Microsoft Windows Server 2019, Microsoft Windows Server 2022, Microsoft Windows Small Business Server 2008, Microsoft Windows Small Business Server 2008 , Microsoft Windows 2008 Server R2, Microsoft Windows 2008 Server Service Pack 2, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2, Prosupport for Microsoft Software ...
Product

Microsoft Windows Small Business Server 2011 Essentials

Last Published Date

27 Oct 2023

Version

6

Article Type

How To