Get-ObjectIdentifierEx fails when OID group is not specified, because dwOidGroup is casted to Int32, instead of UInt32:
```
Cannot convert argument "dwGroupId", with value: "-2147483647", for "CryptFindOIDInfo" to type "System.UInt32": "Cannot
convert value "-2147483647" to type "System.UInt32". Error: "Value was either too large or too small for a UInt32.""
At C:\Users\administrator.CONTOSO\Documents\WindowsPowerShell\Modules\pspki\Client\Get-ObjectIdentifierEx.ps1:51 char:3
+ [IntPtr]$ptr2 = [PKI.Crypt32]::CryptFindOIDInfo(1,$ptr,($SearchFlag -bor $_))
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodException
+ FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
```
Comments: Fixed in 2.8
```
Cannot convert argument "dwGroupId", with value: "-2147483647", for "CryptFindOIDInfo" to type "System.UInt32": "Cannot
convert value "-2147483647" to type "System.UInt32". Error: "Value was either too large or too small for a UInt32.""
At C:\Users\administrator.CONTOSO\Documents\WindowsPowerShell\Modules\pspki\Client\Get-ObjectIdentifierEx.ps1:51 char:3
+ [IntPtr]$ptr2 = [PKI.Crypt32]::CryptFindOIDInfo(1,$ptr,($SearchFlag -bor $_))
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodException
+ FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument
```
Comments: Fixed in 2.8