New-RASVDIGuest

NAME

New-RASVDIGuest

SYNOPSIS

Installs the RAS Guest Agent in a VM, which makes it ready to host published resources in Parallels RAS.

SYNTAX

New-RASVDIGuest [-ProviderId] <uint> [-Id] <string> [-ComputerName <string>] [-NoAllowRemoteConnections <SwitchParameter>] [-NoDesktopExperience <SwitchParameter>] [-NoFireWallRules <SwitchParameter>] [-NoInstall <SwitchParameter>] [-NoRestart <SwitchParameter>] [-NoTerminalServices <SwitchParameter>] [<CommonParameters>]

New-RASVDIGuest [-ProviderId] <uint> [-Id] <string> -Password <SecureString> -Username <string> [-ComputerName <string>] [-NoAllowRemoteConnections <SwitchParameter>] [-NoDesktopExperience <SwitchParameter>] [-NoFireWallRules <SwitchParameter>] [-NoRestart <SwitchParameter>] [-NoTerminalServices <SwitchParameter>] [<CommonParameters>]

New-RASVDIGuest [-InputObject] <VM> [-ComputerName <string>] [-NoAllowRemoteConnections <SwitchParameter>] [-NoDesktopExperience <SwitchParameter>] [-NoFireWallRules <SwitchParameter>] [-NoInstall <SwitchParameter>] [-NoRestart <SwitchParameter>] [-NoTerminalServices <SwitchParameter>] [<CommonParameters>]

New-RASVDIGuest [-InputObject] <VM> -Password <SecureString> -Username <string> [-ComputerName <string>] [-NoAllowRemoteConnections <SwitchParameter>] [-NoDesktopExperience <SwitchParameter>] [-NoFireWallRules <SwitchParameter>] [-NoRestart <SwitchParameter>] [-NoTerminalServices <SwitchParameter>] [<CommonParameters>]

DESCRIPTION

Installs the RAS Guest Agent in a VM, which makes it ready to host published resources in Parallels RAS.

PARAMETERS


-ProviderId <uint>
The ID of the Provider server on which the target VM resides.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Id <string>
The ID of the target VM.

        Required?                    true
        Position?                    1
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ComputerName <string>
The FQDN or IP address of the target VM.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <VM>
An object of type VM representing the target VM.

To obtain the object, use the Get-VM cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

-Username <string>
An administrator account for push installing the RAS Guest Agent in the VM.

If this parameter is omitted, your RAS admin username (and password) will be used.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Password <SecureString>
The password of the account specified in the Username parameter.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-NoInstall <SwitchParameter>
Specifies not to install the RAS Guest Agent on the server.

If this parameter is omitted, the agent will be push installed in the VM using your RAS admin credentials.

To specify different credentials for push installation, use the Username and Password parameters.

This parameter can be used in situations when the RAS Guest Agent is already installed in a VM, but the VM is powered down.

By including this parameter, you will simply power up the VM and make it available for Parallels RAS operations.

        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

-NoRestart <SwitchParameter>
Specifies not to restart the server after the RAS Guest Agent is installed.

If this parameter is omitted, the server will be restarted if required.

        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

-NoFireWallRules <SwitchParameter>
Specifies not to add firewall rules to allow the RAS Guest Agent to communicate.

If this parameter is omitted, the firewall rules will not be added.

        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

-NoDesktopExperience <SwitchParameter>
Specifies not to install the Desktop Experience after the RAS Guest Agent is installed.

If this parameter is omitted, the Desktop Experience is installed.

        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

-NoTerminalServices <SwitchParameter>
Specifies not to install the Terminal Services role when adding an RDS Server after the RAS Guest Agent is installed.

If this parameter is omitted, the Terminal Services role will be installed.

        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

-NoAllowRemoteConnections <SwitchParameter>
Specifies not to enable allow remote connection when the RAS Guest Agent is installed.

If this parameter is omitted, remote connections are enabled.

        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 documentation. 

INPUTS

VM

OUTPUTS

VDIGuest

EXAMPLES


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

New-RASVDIGuest -ProviderId 3 -Id 42311235-09c5-ca15-337d-b9723015edf0

Installs the RAS Guest Agent in a VM specified by the Provider ID and the VM ID.

The RAS Guest Agent will be installed on the server using your RAS admin credentials (default).

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

New-RASVDIGuest $VM

Installs the RAS Guest Agent in a VM specified by the $VM variable, which is an object of type VM.

The object is obtained using the Get-RASVM cmdlet.

The RAS Guest Agent will be installed on the server using your RAS admin credentials (default).

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

Get-RASVM -ProviderId 3 -Id 42311235-09c5-ca15-337d-b9723015edf0 | New-RASVDIGuest -NoInstall

Install the RAS Guest Agent in a VM represented by a VM object obtained from the pipeline output.

The RAS Guest Agent will not be installed on the server.

You can skip the agent installation if it's already installed on the server.

RELATED LINKS