Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
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 applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

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:


Affected Products

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 ...

Products

Microsoft Windows Small Business Server 2011 Essentials
Article Properties
Article Number: 000200551
Article Type: How To
Last Modified: 27 Oct 2023
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.