< Back

test-aldirectoryauth

Mon Jan 13, 2020 8:03 am

NAME test-aldirectoryauth



SYNOPSIS

Test Directory Junction authentication





SYNTAX

test-aldirectoryauth [-websession] <Object> [-serveraddress] <String> [[-port] <String>] [-usessl] [-username]

<String> [-adpassword] <String> [<CommonParameters>]





DESCRIPTION

Test Directory Junction authentication





PARAMETERS

-websession <Object>

Existing Webrequest session for ELM Appliance



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-serveraddress <String>

AD server to connect



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-port <String>

AD port (uses 389 and 636 by default)



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-usessl [<SwitchParameter>]

Connect via SSL



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-username <String>

AD username (eg admin@domain.com)



Required? true

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-adpassword <String>

AD password



Required? true

Position? 5

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

System.Boolean





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



PS C:\\>test-aldirectoryauth -websession $websession -serveraddress "mydc.domain.com" -Verbose -username

"admin@domain.com" -adpassword "MYPASSWORD"













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>test-aldirectoryauth -websession $websession -serveraddress "mydc.domain.com" -Verbose -usessl -username

"admin@domain.com" -adpassword "MYPASSWORD"















RELATED LINKS