< Back

Connect-LinaServer

Fri Jan 10, 2020 9:15 pm

NAME Connect-LinaServer



SYNOPSIS

Connects to an Atempo Lina server.





SYNTAX

Connect-LinaServer [-Server] <String> [-User] <String> [-Password] <String> [[-Locale] <String>] [[-Tenant]

<String>] [<CommonParameters>]





DESCRIPTION

Connects to an Atempo Lina server 5.0+ using superadmin credentials.

Select your locale using the -Locale switch. Locale is used only to display the default elements (strategies,

protections etc) with localized names.

Please note : there is no support for multiple connections to different or same server.

By default certificate checking is not enabled. If you want to enable it use $GLOBAL_IGNORE_CERTIFICATES= $False





PARAMETERS

-Server <String>

Specify the URL of the Lina server you want to connect to.

You need to specify the protocol and ports. For example : https://10.0.0.1:8181 or http://10.0.0.1:8181



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-User <String>

Specify the user name you want to use for authenticating with the server. It must be superadmin.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Password <String>

Specify the password



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Locale <String>

Specify the language that will be used for default elements names.

Optional. Default value is English.

Possible values are : "en","fr","es","de"



Required? false

Position? 4

Default value en

Accept pipeline input? false

Accept wildcard characters? false



-Tenant <String>

Select a specific tenant for actions (listing, creation will be limited to this tenant)

Optional. Default value is -1 (All tenant / Global view)



Required? false

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

None





OUTPUTS

None





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



PS C:\\>Connect-LinaServer -Server "https://mylinaserver.domain.com:8181" -User "superadmin" -Password "mypassword"



Connection to mylinaserver.domain.com using default locale and global view (no tenant).









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



PS C:\\>Connect-LinaServer -Server "https://mylinaserver.domain.com:8181" -User "superadmin" -Password "mypassword"

-Locale "fr" -Tenant "MyTenant"



Connection to mylinaserver.domain.com using french language and filtered on the tenant MyTenant.











RELATED LINKS