For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-DSGatewayFarm

Synopsis

Create a gateway farm.

Syntax

__AllParameterSets

New-DSGatewayFarm [-Name] <string> [[-MemberGateways] <Gateway[]>] [[-Description] <string>]
 [[-VaultRoleOverride] <GatewayVaultRoleOverride>] [[-CustomVaultAccess] <guid[]>] [-IsDefault]
 [<CommonParameters>]

Description

Create a gateway farm with member gateways. The Devolutions Gateway module is required. The gateways used as members will also be updated when this cmdlet is run.

Examples

Example 1

PS C:\> $gateway1 = Get-DSGateway -GatewayID $gateway1Id
PS C:\> $gateway2 = Get-DSGateway -GatewayID $gateway2Id
PS C:\> New-DSGatewayFarm -Name "Production Farm" -MemberGateways $gateway1, $gateway2

Create a gateway farm with two existing gateways as members.

Example 2

Create a default gateway farm containing all gateways with names starting with 'Prod-'.

Example 3

Create a gateway farm with custom vault access, restricting it to specific vaults.

Parameters

-CustomVaultAccess

List of vault access roles.

-Description

Description of the gateway farm.

-IsDefault

Set as the default gateway.

-MemberGateways

Array of gateways to include as members of the farm.

-Name

Gateway farm's name.

-VaultRoleOverride

Which vaults the gateway farm grants access to (if custom, specify with CustomVaultAccess).

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Notes

For more information, type "Get-Help New-DSGatewayFarm -detailed". For technical information, type "Get-Help New-DSGatewayFarm -full".

Last updated

Was this helpful?