When we created our GPMC PowerShell cmdlets in 2008, they made it easy to get at GPMC functionality within PowerShell v1. When Microsoft shipped Windows 7/2008-R2, they also provided their own set of GPMC-related cmdlets within their GroupPolicy module. At the time I assumed that most folks would continue to use our cmdlets on PowerShell v1 and especially on non-Win7 systems, but as it turns out, we still have a lot of folks using our cmdlets instead of Microsoft ones– most likely because there continue to be things that users can do with our cmdlets that they can’t with the Microsoft module. As a result, we updated our GPMC cmdlets to v1.4, to support more seamless usage on PowerShell v2. Essentially this amounts to providing a v2. module during installation of our cmdlets so that you can now seamlessly run the SDM GPMC cmdlets from PowerShell v2 without jumping through hoops. Note that this version needs to run on Win7 or Server 2008-R2. We’ll work on a verision for Posh v2 on XP or 2003 next, but for the time being, hopefully this will help. You can register to download 1.4 at our Freeware page but if you already registered for a previous version, expect an email from us soon with the direct download link!
Thanks!
Darren
I’ve downloaded the v1.4 cmdlets but they will not install on Windows 7, 32-bit edition (unfortunately, some of the older products I support will not work on a 64-bit platform). The v1.3 cmdlets seem to install OK, though.
Although the v1.3 cmdlets install without error on Windows 7 32 bit, the SDM GPMC cmdlets console gives the following warning on startup:
WARNING: The following errors occurred when loading console C:\Program
Files\SDM Software\SDM Software GPMC Cmdlets\SDMGPO.psc1:
Cannot load Windows PowerShell snap-in SDMSoftware.PowerShell.GPMC because of
the following error: The Windows PowerShell snap-in
‘SDMSoftware.PowerShell.GPMC’ is not installed on this machine.
Yes, this is because 1.3 did not include a PowerShell v2 module.
OK. For all those who are having this same problem, we created a separate download for x86 and x64 versions of the setup of the GPMC 1.4 cmdlets. Go to http://www.sdmsoftwarenew.wpengine.com/freeware-thanks and you should see the new downloads. Try that and let us know if they still cause issues.
Darren
That works perfectly, thank you Darren!
Yours, Damion.
Damion-
What error do you get on Win7, 32-bit? We’ve tested 1.4 on that version and it installs and works just fine. Make sure you have GPMC installed as well.
Darren
Darren, I get the error “This installation package is not supported by this processor type. Contact your product vendor.” In addition two application event log entries are generated from source: MsiInstaller;
11708: Product: SDM Software GPMC Cmdlets — Installation failed.
1033: Windows Installer installed the product. Product Name: SDM Software GPMC Cmdlets. Product Version: 1.4.0. Product Language: 1033. Manufacturer: SDM Software. Installation success or error status: 1633.
Hope this helps; Damion.
Damion-
What architecture of Windows are you using. I’ve tested the install on both x64 and x86 without problem. Have you tried another machine to see if it’s something on that machine?
Darren
Darren, I will try this on Monday when I’m back at work.
One thing occurs to me; I have the Windows 7 RSAT tools installed, which includes the GPMC, rather than the GPMC itself (which I don’t even think is available for Windows 7). Would this affect the installer?
GPMC is part of RSAT–so just check that you have that part of RSAT installed and you’ll be good to go.
Darren
The GPMC is definitely installed and available on my PC.
Other details that may be of use:
Windows 7 Professional with SP1
Intel Core i5-2410M @ 2.30GHz
2GB RAM
Darren, I’ve just created a 32-bit Windows 7 Pro + SP1 VM and have added the RSAT (enabling AD DS tools and the GPMC only).
I get exactly the same error message when installing GPMCCmdlet1.4Setup.msi
I also created a 64-bit Windows 7 + SP1 VM (as above, but 64-bit) and the SDM cmdlets installed flawlessly.
Yours, Damion.
There is always room to improve on Microsoft. Look at how MS got the enhacements to GP to begin with. Some small ‘Desktop’ company???
Hi Darren,
This may be a stupid question but, having run the .msi installer, what else do I need to do in powershell V2 to find your commandlets? Load a module?
Could not find any instructions anywhere on your website.
Kind regards,
-Arvid
Arvid-it depends upon which cmdlets you’re talking about. But if it’s the GPMC cmdlets, you can do a get-module -listavailable and you’ll see a list of installed modules–the SDM one will be quite apparent in that list and you can do an import-module on that one!
Darren