--- external help file: PSAD-help.xml online version: https://github.com/zloeber/PSAD schema: 2.0.0


New-DSObject

SYNOPSIS

Creates a new object in AD.

SYNTAX

New-DSObject [-Identity] <String> -Path <String> -ObjectType <String> [-OtherAttributes <Hashtable>]
 [-ComputerName <String>] [-Credential <PSCredential>]

DESCRIPTION

Creates a new object in AD.

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

TBD

PARAMETERS

-Identity

Name of object to create.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Path

Path to create the object within.

Type: String
Parameter Sets: (All)
Aliases: 

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

-ObjectType

The type of object to create.

Type: String
Parameter Sets: (All)
Aliases: 

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

-OtherAttributes

Hashtable of attributes to apply to the object.

Type: Hashtable
Parameter Sets: (All)
Aliases: 

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

-ComputerName

Domain controller to use.

Type: String
Parameter Sets: (All)
Aliases: Server, ServerName

Required: False
Position: Named
Default value: $Script:CurrentServer
Accept pipeline input: False
Accept wildcard characters: False

-Credential

Credentials to use for connection to AD.

Type: PSCredential
Parameter Sets: (All)
Aliases: Creds

Required: False
Position: Named
Default value: $Script:CurrentCredential
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

OUTPUTS

NOTES

Author: Zachary Loeber

https://github.com/zloeber/PSAD