Resolves object identifier value to a associated friendly name and vice versa and returns extended information.
Get-ObjectIdentifierEx [-Value] <String> [[-Group] <OidGroup>] [-UseActiveDirectory] [<CommonParameters>]
Resolves object identifier value to a associated friendly name and vice versa. The cmdlet resolves both well-known OIDs (used in Internet PKI) and Active Directory forest specific registered OIDs.
The difference with Get-ObjectIdentifier here is a more detailed output information about OID registration and OID type.
The output of the command can be piped to Unregister-ObjectIdentifier command.
Specifies a string or strings that represents object identifier friendly name or value.
Required? | True |
Position? | 0 |
Default value | |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Indicates that the command should attempt to search both local registry OID tables and OID registrations in Active Directory.
Note: This parameter is always enabled and cannot be disabled on Windows XP and Windows Server 2003 computers.
Required? | False |
Position? | named |
Default value | |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Specifies the OID group for requested OID.
Required? | False |
Position? | 1 |
Default value | All |
Accept pipeline input? | False |
Accept wildcard characters? | False |
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216)
SysadminsLV.PKI.Cryptography.Oid2
PS C:\> Get-ObjectIdentifierEx -Value sha1
Returns extended information about OID registration with friendly name 'sha1'.
PS C:\> Get-ObjectIdentifierEx -Value "Company smart card policy" -UseActiveDirectory | Unregister-ObjectIdentifier
Gets information about OID registration with friendly name 'Company smart card policy' and deletes all OID registrations from local system and Active Directory.