< Back

Connect-ArubaCX

Sat Jan 18, 2020 8:32 pm

NAME Connect-ArubaCX



SYNOPSIS

Connect to a ArubaCX Switches





SYNTAX

Connect-ArubaCX [-Server] <String> [-Username <String>] [-Password <SecureString>] [-Credentials <PSCredential>]

[-SkipCertificateCheck] [<CommonParameters>]





DESCRIPTION

Connect to a ArubaCX Switches





PARAMETERS

-Server <String>



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Username <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Password <SecureString>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Credentials <PSCredential>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SkipCertificateCheck [<SwitchParameter>]



Required? false

Position? named

Default value False

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 C:\\>Connect-ArubaCX -Server 192.0.2.1



Connect to a ArubaCX Switch with IP 192.0.2.1 using (Get-)credential









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



PS C:\\>Connect-ArubaCX -Server 192.0.2.1 -SkipCertificateCheck



Connect to an ArubaCX Switch using HTTPS (without check certificate validation) with IP 192.0.2.1 using

(Get-)credential









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>$cred = get-credential



PS C:\\>Connect-ArubaCX -Server 192.0.2.1 -credential $cred



Connect to a ArubaCX Switch with IP 192.0.2.1 and passing (Get-)credential









-------------------------- EXAMPLE 4 --------------------------



PS C:\\>$mysecpassword = ConvertTo-SecureString aruba -AsPlainText -Force



PS C:\\>Connect-ArubaCX -Server 192.0.2.1 -Username admin -Password $mysecpassword



Connect to a ArubaCX Switch with IP 192.0.2.1 using Username and Password











RELATED LINKS