< Back

Add-ADSchemaAuxiliaryClassToClass

Fri Jan 10, 2020 7:30 pm

NAME Add-ADSchemaAuxiliaryClassToClass



SYNOPSIS

Adds an Auxiliary Class to a Structural Class.





SYNTAX

Add-ADSchemaAuxiliaryClassToClass [[-AuxiliaryClass] <Object>] [[-Class] <Object>] [<CommonParameters>]





DESCRIPTION

Add a new Custom Class to an existing Structural Class in Active Directory.



For example if you want to add attributes to the user class, you should:



1) Create a new Auxiliary Class.

2) Add attributes to that Auxiliary Class.

3) Finally assign the New Class as an Auxiliary Class to the User Class.





PARAMETERS

-AuxiliaryClass <Object>

The class that will be holding the new attributes you are creating.

This will be an auxiliary class of the structural class.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Class <Object>

The structural class you are adding an Auxiliary Class to..



Required? false

Position? 2

Default value

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>Add-ADSchemaAuxiliaryClassToClass -AuxiliaryClass asTest -Class User



Set the asTest class as an aux class of the User class.











RELATED LINKS