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

Update-DSVirtualGateway

Synopsis

Update a virtual gateway.

Syntax

GetByID

Update-DSVirtualGateway [-GatewayID] <guid> [[-Name] <string>] [[-Description] <string>]
 [[-Rule] <PSGatewayAccessRule[]>] [[-LinkedGatewayID] <guid>] [-IsDefault <bool>]
 [<CommonParameters>]

InputObject

Update-DSVirtualGateway [-Gateway] <Gateway> [[-Name] <string>] [[-Description] <string>]
 [[-Rule] <PSGatewayAccessRule[]>] [[-LinkedGatewayID] <guid>] [-IsDefault <bool>]
 [<CommonParameters>]

Description

Update a virtual gateway. Use the parameter to modify the corresponding properties.

Examples

Example 1

Replace all existing access rules of the virtual gateway for one that denies the IP address '1.2.3.4'.

Example 2

Add a new rule that allows the IP address '1.2.3.4' to the virtual gateway

Parameters

-Description

New description of the virtual gateway.

-Gateway

Virtual gateway to update.

-GatewayID

ID of the virtual gateway to update.

-IsDefault

Set as the default gateway.

-LinkedGatewayID

New physical gateway's ID.

-Name

Virtual gateway's new name. The value will be trimmed.

-Rule

New set of access rules. It will replace all old ones.

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 Update-DSVirtualGateway -detailed". For technical information, type "Get-Help Update-DSVirtualGateway -full".

Last updated

Was this helpful?