New-RASSession
SYNOPSIS
Creates a connection with a Parallels RAS farm.
SYNTAX
New-RASSession [-Username] <string> [-Password] <SecureString> [[-Server] <string>]
[-Force <SwitchParameter>] [-Retries <uint>] [<CommonParameters>]New-RASSession [<CommonParameters>]DESCRIPTION
Connects to a Parallels RAS farm and creates a new RAS session.
A connection with Parallels RAS must be established before you can execute any other commands.
EXAMPLES
Example 1
New-RASSession "username"Creates a new RAS session with the Parallels RAS farm deployed on the local server.
When you execute the command, you will get a prompt to enter a password.
Example 2
Connects to the specified server using specified credentials and creates a new RAS session.
The -Username value must be specified using the UPN format.
The $SecretPassword variable must contain a valid password as SecureString.
Example 3
Connects to the specified server using specified credentials and creates a new RAS session.
The -Retries value specifies how many retries to do, in case connection is not established the first time.
The -Username value must be specified using the UPN format.
The $SecretPassword variable must contain a valid password as SecureString.
PARAMETERS
-Server
FQDN or IP address of the server where your have Parallels RAS installed.
-Username
Parallels RAS administrator username.
-Password
Parallels RAS administrator password.
-Retries
Number of reconnections to do if the first one fails. Default is 0.
-Force
Force connection with specified server (or with local host if server not specified).
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
Session
RELATED LINKS
Last updated