Well, we’ve updated our free SDM Software GPMC PowerShell cmdlets (registration optional)! We are now up to 16 cmdlets! Cool. Here’s what we’ve added:
- Added the –DomainName parameter to all cmdlets as appropriate to allow you to perform operations against domains other than the one the cmdlets run in
- Added 4 new cmdlets, including:
- Import-SDMgpo: provides support for the GPMC Import function that allows you to import a GPMC backup into a GPO. This is often used for migration of GPOs from test to production domains/forests.
- Get-SDMSOMSecurity: provides a list of GP-related permissions on a given SOM (Scope of Management, i.e. site, domain or OU)
- Add-SDMSOMSecurity: lets you add GP-related permissions (e.g. create GPO, link GPO, RSOP logging and planning) to a given SOM
- Remove-SDMSOMSecurity: lets you remove GP-related permissions from a given SOM
If you installed the 1.0 version, just uninstall that and install this new setup. Note that the snap-in name has changed to SDMSoftware.PowerShell.GPMC.
To get a full list of the GPMC cmdlets, type this at a PowerShell command prompt:
get-command *sdm* -type cmdlet
All the cmdlets also include help, so just use get-help <cmdlet name> to find out the correct syntax.
Check it out and let me know what you think.
Tags:
PowerShell, Group Policy, SDM Software, GPMC
FEB

About the Author:
Darren Mar-Elia is CTO & Founder of SDM Software, Inc. Darren has over 25 years of IT and Software experience in the Microsoft technology area, including serving as a Director in Infrastructure at Charles Schwab, CTO of Windows Management Solutions at Quest Software, and Sr. Director of Product Engineering at DesktopStandard. He has been a Microsoft MVP in Group Policy technology for the last 6 years and has written and spoken on Active Directory, Group Policy and PowerShell topics frequently over the years. He maintains the popular Group Policy resource web site at www.gpoguy.com and has been a contributing editor for Windows IT Pro Magazine since 1997. He has written and contributed to twelve books on Windows. Darren also speaks frequently at conferences on Windows infrastructure topics.