Get-NextOid

SYNOPSIS

Get a new valid Object Identifier (OID)

SYNTAX

Get-NextOid [-Oid] <String> [<CommonParameters>]

DESCRIPTION

Get a new valid Object Identifier (OID), for example to be used when creating a new CA template with the New-CATemplate cmdlet.

EXAMPLES

Example 1

PS C:\> Get-NextOid -Oid 1.3.6.1.4.1.311.42.1.17

Returns 1.3.6.1.4.1.311.42.1.18

PARAMETERS

-Oid

The OID to increment

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES