Select Page

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