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


Test-DSObjectPath

SYNOPSIS

A helper function to validate if an object path exists in AD.

SYNTAX

Test-DSObjectPath [[-ComputerName] <String>] [[-Credential] <PSCredential>] [-Path] <String>

DESCRIPTION

A helper function to validate if an object path exists in AD.

EXAMPLES

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

TBD

PARAMETERS

-ComputerName

Domain controller to use for this search.

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

Required: False
Position: 1
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: 2
Default value: $Script:CurrentCredential
Accept pipeline input: False
Accept wildcard characters: False

-Path

Path to validate.

Type: String
Parameter Sets: (All)
Aliases: adsPath

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

INPUTS

OUTPUTS

NOTES