juicy-potato icon indicating copy to clipboard operation
juicy-potato copied to clipboard

GetCLSID.ps1 fails on Windows Server 2012 R2 Standard

Open Reelix opened this issue 4 years ago • 1 comments

C:\Users\ben\Documents>powershell ./GetCLSID.ps1
powershell ./GetCLSID.ps1

Name           Used (GB)     Free (GB) Provider      Root
----           ---------     --------- --------      ----
HKCR                                   Registry      HKEY_CLASSES_ROOT
Select : The property cannot be processed because the property "AppID" already
exists.
At C:\Users\ben\Documents\utils\Join-Object.ps1:471 char:103
+ ... htProperties | Select $AllProps
+                    ~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (@{AppID={8B4B43...-7F9F7DF414
   EA}}:PSObject) [Select-Object], PSArgumentException
    + FullyQualifiedErrorId : AlreadyExistingUserSpecifiedPropertyNoExpand,Mic
   rosoft.PowerShell.Commands.SelectObjectCommand

It worked fine when testing on Windows 10, and I am not good enough with Powershell to debug the issue.

Reelix avatar Jun 28 '20 19:06 Reelix

Same result running on Windows 8.1 Enterprise.

curious-attempt-bunny avatar Nov 04 '20 21:11 curious-attempt-bunny