Set-VpcSubnet Command | Vmware PowerCLI Reference

Set-VpcSubnet

This cmdlet configures Virtual Private Cloud (VPC) subnet.

Syntax

Set-VpcSubnet
-Subnet < Subnet[] >
[-Description < String > ]
[-DhcpClasslessStaticRoute < DhcpClasslessStaticRoute[] > ]
[-DhcpGenericOption < DhcpGenericOption[] > ]
[-DhcpMode < DhcpMode[] > ]
[-GatewayConnectivity < SwitchParameter[] > ]
[-Name < String > ]
[-ProgressAction < ActionPreference > ]
[-ReservedIpRange < String[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Subnet Subnet[] named
  • pipeline
  • wildcards
Specifies the name of the Virtual Private Cloud Subnet which you want to configure.
optional Description String named
Modifies the description of the Virtual Private Cloud (VPC) subnet.
optional DhcpClasslessStaticRoute DhcpClasslessStaticRoute[] named
Modifies the classless static route (DHCP option 121) provided by the DHCP server.
optional DhcpGenericOption DhcpGenericOption[] named
Modifies the generic options of the DHCP server.
optional DhcpMode DhcpMode[] named
Modifies the DHCP mode of the Virtual Private Cloud Subnet which you want to configure.
optional GatewayConnectivity SwitchParameter[] named
Modifies the connectivity status of Virtual Private Cloud (VPC) subnet.
optional Name String named
Modifies the name of the Virtual Private Cloud Subnet which you want to configure.
optional ProgressAction ActionPreference named
optional ReservedIpRange String[] named
Modifies the IP range of the Virtual Private Cloud Subnet which you want to configure.

Output

VMware.VimAutomation.ViCore.Types.V1.Vpc.Subnet

Examples

Example 1

Set-VpcSubnet -Subnet vpcSub -ReservedIpRange 192.168.133.10-192.168.133.20

Configure the Virtual Private Cloud (VPC) subnet named "vpcSub" with IP address ranges (192.168.133.10-192.168.133.20).

Related Commands

Vpc

This cmdlet retrieves Virtual Private Clouds.

This cmdlet creates Virtual Private Clouds.

This cmdlet removes Virtual Private Clouds.

This cmdlet modifies the configuration of the Virtual Private Clouds.

VpcConnectivityProfile

This cmdlet retrieves Virtual Private Cloud Connectivity Profiles.

VpcDhcpClasslessStaticRoute

This cmdlet creates Dynamic Host Configuration Protocol classless static route option.

VpcDhcpGenericOption

This cmdlet creates Dynamic Host Configuration Protocol generic option.

VpcDhcpStaticBinding

This cmdlet retrieves the DHCP static bindings for Virtual Private Cloud Subnet.

This cmdlet creates the DHCP static binding for Virtual Private Cloud Subnet.

This cmdlet removes the DHCP static bindings for VPC Subnet.

This cmdlet modifies the DHCP static binding configurations for the Virtual Private Cloud Subnet.

VpcIpBlock

This cmdlet retrieves Virtual Private Clouds Ip Address Block.

VpcProject

This cmdlet retrieves Virtual Private Clouds Projects.

VpcServiceProfile

This cmdlet retrieves Virtual Private Cloud Service Profiles.

VpcStatistics

This cmdlet retrieves Virtual Private Clouds statistics.

VpcSubnet

This cmdlet retrieves Virtual Private Cloud Subnet.

This cmdlet creates Virtual Private Cloud (VPC) subnet.

This cmdlet removes Virtual Private Clouds Subnet.

This cmdlet configures Virtual Private Cloud (VPC) subnet.

VpcSubnetDhcpServerStatistics

This cmdlet retrieves Virtual Private Clouds Subnet dhcp server statistics.

VpcSubnetDhcpServerStatus

This cmdlet retrieves Virtual Private Clouds Subnet dhcp server status.

VpcSubnetStatistics

This cmdlet retrieves Virtual Private Cloud Subnet statistics.

VpcSubnetStatus

This cmdlet retrieves Virtual Private Cloud Subnet status.