< Back
New-ADSchemaTestOID
Post
NAME New-ADSchemaTestOID
SYNOPSIS
Creates a random OID for dev and test purposes.
SYNTAX
New-ADSchemaTestOID [[-Prefix] <Object>] [[-Parts] <Object>] [<CommonParameters>]
DESCRIPTION
Creates a random Object Identifier for dev and test purposes. For production uses,
use an OID with your company OID prefix and Private Enterprise Number.
See help about_adschema for more information.
PARAMETERS
-Prefix <Object>
Required? false
Position? 1
Default value 1.2.840.113556.1.8000.2554
Accept pipeline input? false
Accept wildcard characters? false
-Parts <Object>
Required? false
Position? 2
Default value 2
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS>New-ADSchemaTestOID
1.2.840.113556.1.8000.2554.9398
-------------------------- EXAMPLE 2 --------------------------
PS>New-ADSchemaTestOID -Parts 5 -Prefix 1.2.3
1.2.3.6317.60671.47166.17019.42042
-------------------------- EXAMPLE 3 --------------------------
PS>New-ADSchemaTestOID -Parts 4 -Prefix 1.2.3
1.2.3.7279.9696.19673.18618
-------------------------- EXAMPLE 4 --------------------------
PS>New-ADSchemaTestOID -Parts 6
1.2.840.113556.1.8000.2554.59800.33270.113.17098.41534.37654
RELATED LINKS
SYNOPSIS
Creates a random OID for dev and test purposes.
SYNTAX
New-ADSchemaTestOID [[-Prefix] <Object>] [[-Parts] <Object>] [<CommonParameters>]
DESCRIPTION
Creates a random Object Identifier for dev and test purposes. For production uses,
use an OID with your company OID prefix and Private Enterprise Number.
See help about_adschema for more information.
PARAMETERS
-Prefix <Object>
Required? false
Position? 1
Default value 1.2.840.113556.1.8000.2554
Accept pipeline input? false
Accept wildcard characters? false
-Parts <Object>
Required? false
Position? 2
Default value 2
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS>New-ADSchemaTestOID
1.2.840.113556.1.8000.2554.9398
-------------------------- EXAMPLE 2 --------------------------
PS>New-ADSchemaTestOID -Parts 5 -Prefix 1.2.3
1.2.3.6317.60671.47166.17019.42042
-------------------------- EXAMPLE 3 --------------------------
PS>New-ADSchemaTestOID -Parts 4 -Prefix 1.2.3
1.2.3.7279.9696.19673.18618
-------------------------- EXAMPLE 4 --------------------------
PS>New-ADSchemaTestOID -Parts 6
1.2.840.113556.1.8000.2554.59800.33270.113.17098.41534.37654
RELATED LINKS