> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/add-rasvdihostpoolmember.md).

# Add-RASVDIHostPoolMember

## SYNOPSIS

Adds one or multiple VDI Host Pool Members to a standalone VDI Host Pool.

## SYNTAX

```powershell
Add-RASVDIHostPoolMember [-VDIHostPoolId] <uint> -Name <string>
 -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool}
 [-NativePoolId <string>] [-NoInstall <SwitchParameter>] [-ProviderId <uint>] [-VMId <string>]
 [-VMIds <List`1>] [<CommonParameters>]
```

```powershell
Add-RASVDIHostPoolMember [-VDIHostPoolId] <uint> -Name <string> -Password <SecureString>
 -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool} -Username <string>
 [-NativePoolId <string>] [-ProviderId <uint>] [-VMId <string>] [-VMIds <List`1>]
 [<CommonParameters>]
```

```powershell
Add-RASVDIHostPoolMember [-InputObject] <VDIHostPool> -Name <string>
 -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool}
 [-NativePoolId <string>] [-NoInstall <SwitchParameter>] [-ProviderId <uint>] [-VMId <string>]
 [-VMIds <List`1>] [<CommonParameters>]
```

```powershell
Add-RASVDIHostPoolMember [-InputObject] <VDIHostPool> -Name <string> -Password <SecureString>
 -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool} -Username <string>
 [-NativePoolId <string>] [-ProviderId <uint>] [-VMId <string>] [-VMIds <List`1>]
 [<CommonParameters>]
```

```powershell
Add-RASVDIHostPoolMember [-VDIHostPoolName] <string> [[-SiteId] <uint>] -Name <string>
 -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool}
 [-NativePoolId <string>] [-NoInstall <SwitchParameter>] [-ProviderId <uint>] [-VMId <string>]
 [-VMIds <List`1>] [<CommonParameters>]
```

```powershell
Add-RASVDIHostPoolMember [-VDIHostPoolName] <string> [[-SiteId] <uint>] -Name <string>
 -Password <SecureString>
 -Type {AllHostsInProvider | AllGuestsInProvider | Host | Guest | NativePool} -Username <string>
 [-NativePoolId <string>] [-ProviderId <uint>] [-VMId <string>] [-VMIds <List`1>]
 [<CommonParameters>]
```

## DESCRIPTION

Adds one or multiple VDI Host Pool Members to an existing standalone VDI Host Pool.

## EXAMPLES

### Example 1

```powershell
Add-RASVDIHostPoolMember -VDIHostPoolName "My VDI Host Pool" -Type ALLGUESTSONPROVIDER -Name "MY VDI Host Pool Member" -ProviderId 1
```

Adds the specified VDI Host Pool Member to the specified standalone VDI Host Pool.

The Type ALLGUESTSONPROVIDER requires the ProviderId to be specified.

### Example 2

```powershell
Add-RASVDIHostPoolMember -VDIHostPoolName "My VDI Host Pool" -Type GUEST -Name "MY VDI Host Pool Member" -ProviderId 1 -VMId 42312685-05c9-ca51-342d-b3943046edf1
```

Adds the specified VDI Host Pool Member to the specified standalone VDI Host Pool.

The Type GUEST requires the ProviderId and VDIDesktopId to be specified.

### Example 3

```powershell
Add-RASVDIHostPoolMember -VDIHostPoolName "My VDI Host Pool" -Type NATIVEPOOL -Name "MY VDI Host Pool Member" -ProviderId 1 -NativePoolId 1
```

Adds the specified VDI Host Pool Member to the specified standalone VDI Host Pool.

The Type NATIVEPOOL requires the ProviderId and NativePoolId to be specified.

## PARAMETERS

### -VDIHostPoolName

The VDI Host Pool name.

```yaml
Type: string
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -SiteId

Site ID where the VDI Host Pool is located.

If the parameter is omitted, the site ID of the Licensing Server will be used.

```yaml
Type: uint
Required: False
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -VDIHostPoolId

The VDI Host Pool ID.

```yaml
Type: uint
Required: True
Position: 0
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -InputObject

An object of type VDIHostPool identifying the target VDI Host Pool.

The object is obtained using the Get-RASVDIHostPool cmdlet.

Type reference: [VDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/vdihostpool.md)

```yaml
Type: VDIHostPool
Required: True
Position: 0
Default value: None
Accept pipeline input: true (ByValue)
Accept wildcard characters: False
```

### -Type

The VDI Host Pool Member Type.

The type can either be: ALLGUESTSINPROVIDER, GUEST, NATIVEPOOL, TEMPLATEGUEST or TEMPLATEVERSION.

Possible values: AllHostsInProvider, AllGuestsInProvider, Host, Guest, NativePool

Type reference: [VDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/vdihostpool.md)

```yaml
Type: VDIHostPool
Required: True
Position: Named
Default value: AllHostsInProvider
Accept pipeline input: False
Accept wildcard characters: False
```

### -Name

The VDI Host Pool Member Name.

```yaml
Type: string
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ProviderId

The VDI Host Pool Member Provider ID.

This parameter is only accepted with Types: ALLGUESTSONPROVIDER, GUEST or NATIVEPOOL.

```yaml
Type: uint
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -VMId

The VDI Host Pool Member Guest ID.

This parameter is only accepted with Type: GUEST.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -NativePoolId

The VDI Host Pool Member Native Pool ID.

This parameter is only accepted with Type: NATIVEPOOL.

```yaml
Type: string
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -NoInstall

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.

```yaml
Type: SwitchParameter
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -Username

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.

```yaml
Type: string
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Password

The password of the account specified in the Username parameter.

```yaml
Type: SecureString
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -VMIds

The VDI Host Pool Member Desktops IDs.

This parameter is only accepted with Type: ALLDESKTOPSONPROVIDER.

```yaml
Type: List`1
Required: False
Position: Named
Default value: System.Collections.Generic.List`1[System.String]
Accept pipeline input: False
Accept wildcard characters: False
```

### 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](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### [VDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/vdihostpool.md)

## OUTPUTS

### None

## RELATED LINKS

* [New-RASVDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/new-rasvdihostpool.md)
* [Get-RASVDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/get-rasvdihostpool.md)
* [Set-RASVDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/set-rasvdihostpool.md)
* [Remove-RASVDIHostPool](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/remove-rasvdihostpool.md)
* [Get-RASVDIHostPoolMember](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/get-rasvdihostpoolmember.md)
* [Remove-RASVDIHostPoolMember](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/remove-rasvdihostpoolmember.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/add-rasvdihostpoolmember.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
