< Back

set-aldirectory

Mon Jan 13, 2020 7:58 am

NAME set-aldirectory



SYNOPSIS

Sets properties of an existing Directory Junction





SYNTAX

set-aldirectory [-websession] <Object> [-id] <Object> [[-name] <String>] [[-serveraddress] <String>] [[-port]

<String>] [[-usessl] <String>] [[-username] <String>] [-adpassword] <String> [-force] [-WhatIf] [-Confirm]

[<CommonParameters>]





DESCRIPTION

Sets properties of an existing Directory Junction





PARAMETERS

-websession <Object>

Existing Webrequest session for ELM Appliance



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-id <Object>

Junction ID



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-name <String>

Junction name



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-serveraddress <String>

AD server to connect



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-port <String>

AD port (uses 389 and 636 by default)



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-usessl <String>

Connect via SSL



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-username <String>

AD username (eg admin@domain.com)



Required? false

Position? 7

Default value

Accept pipeline input? false

Accept wildcard characters? false



-adpassword <String>

AD password



Required? true

Position? 8

Default value

Accept pipeline input? false

Accept wildcard characters? false



-force [<SwitchParameter>]

Skip AD tests



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

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:\\>Set-aldirectory -websession $websession -adpassword "MYPASSWORD" -id $directory.id













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



PS C:\\>Set-aldirectory -websession $websession -adpassword "MYPASSWORD" -id $directory.id -name "MYNEWNAME"















RELATED LINKS