Vpc Category | Vmware PowerCLI Reference

Vpc Category

Cmdlets are usually implemented around resource operations. The four basic operations are CREATE, READ, UPDATE and DELETE. This set of operations is known as CRUD. Most of the cmdlets support CRUD which are respectively cmdlets that start with the New/Get/Set/Remove cmdlet verbs but they also may have additional operations

Step 1: Retrieve a object by running a Get command

You can READ objects by using Get-Vpc cmdlet. See example below:

# Retrieves all Virtual Private Clouds in the specified project.

Get-VpcProject -Name Default | Get-Vpc

Step 2 : Run commands from the CRUD group

You can CREATE objects by using New-Vpc cmdlet. See example below:

# Creates a new Virtual Private Cloud named "clivpc", with ipv4 CIDR "192.168.100.0/24" and description "created by powercli".

New-Vpc -Name clivpc -PrivateIp 192.168.100.0/24 -Description "created by powercli"
You can UPDATE objects by using Set-Vpc cmdlet. See example below:

# Configure the Virtual Private Cloud named "clivpc", with ipv4 CIDR "192.168.100.0/24".

Set-Vpc -Vpc clivpc -PrivateIp 192.168.100.0/24
You can REMOVE objects by using Remove-Vpc cmdlet. See example below:

# Remove Virtual Private Clouds with name "clivpc".

Remove-Vpc -Vpc clivpc

Step 3: Explore More Related Commands:


Get-VpcAlarm This cmdlet retrieves Virtual Private Clouds Alarm.
Get-VpcConnectivityPolicy This cmdlet retrieves Connectivity Policies from Transit Gateways.
Get-VpcConnectivityProfile This cmdlet retrieves Virtual Private Cloud Connectivity Profiles.
Get-VpcDhcpStaticBinding This cmdlet retrieves the DHCP static bindings for Virtual Private Cloud Subnet.
Get-VpcEdgeCluster This cmdlet retrieves Edge Clusters.
Get-VpcExternalConnection This cmdlet retrieves External Connections.
Get-VpcGroup This cmdlet retrieves VPC Groups.
Get-VpcIpBlock This cmdlet retrieves Virtual Private Clouds Ip Address Block.
Get-VpcNatRule This cmdlet retrieves NAT Rules from Virtual Private Clouds.
Get-VpcNatRuleStatistics This cmdlet retrieves NAT Rule statistics from Virtual Private Clouds.
Get-VpcProject This cmdlet retrieves Virtual Private Clouds Projects.
Get-VpcServiceCluster This cmdlet retrieves Service Clusters.
Get-VpcServiceProfile This cmdlet retrieves Virtual Private Cloud Service Profiles.
Get-VpcSpan This cmdlet retrieves Spans.
Get-VpcStatistics This cmdlet retrieves Virtual Private Clouds statistics.
Get-VpcSubnet This cmdlet retrieves Virtual Private Cloud Subnet.
Get-VpcSubnetDhcpServerStatistics This cmdlet retrieves Virtual Private Clouds Subnet dhcp server statistics.
Get-VpcSubnetDhcpServerStatus This cmdlet retrieves Virtual Private Clouds Subnet dhcp server status.
Get-VpcSubnetStatistics This cmdlet retrieves Virtual Private Cloud Subnet statistics.
Get-VpcSubnetStatus This cmdlet retrieves Virtual Private Cloud Subnet status.
Get-VpcTransitGateway This cmdlet retrieves Transit Gateways.
Get-VpcVcCluster This cmdlet retrieves VC Clusters.
New-VpcConnectivityPolicy This cmdlet creates Connectivity Policy.
New-VpcConnectivityProfile This cmdlet creates VPC Connectivity Profiles.
New-VpcDhcpClasslessStaticRoute This cmdlet creates Dynamic Host Configuration Protocol classless static route option.
New-VpcDhcpGenericOption This cmdlet creates Dynamic Host Configuration Protocol generic option.
New-VpcDhcpStaticBinding This cmdlet creates the DHCP static binding for Virtual Private Cloud Subnet.
New-VpcExternalConnection This cmdlet creates External Connections.
New-VpcGroup This cmdlet creates VPC Groups.
New-VpcIpBlock This cmdlet creates IP Address Block.
New-VpcSpan This cmdlet creates Spans.
New-VpcSubnet This cmdlet creates Virtual Private Cloud (VPC) subnet.
New-VpcTransitGateway This cmdlet creates Transit Gateways.
Remove-VpcConnectivityPolicy This cmdlet removes Connectivity Policies.
Remove-VpcConnectivityProfile This cmdlet removes Virtual Private Cloud Connectivity Profiles.
Remove-VpcDhcpStaticBinding This cmdlet removes the DHCP static bindings for VPC Subnet.
Remove-VpcExternalConnection This cmdlet removes External Connections.
Remove-VpcGroup This cmdlet removes VPC Groups.
Remove-VpcIpBlock This cmdlet removes IP Address Blocks.
Remove-VpcSpan This cmdlet removes Spans.
Remove-VpcSubnet This cmdlet removes Virtual Private Clouds Subnet.
Remove-VpcTransitGateway This cmdlet removes Transit Gateways.
Set-VpcConnectivityPolicy This cmdlet modifies the configuration of the Connectivity Policies.
Set-VpcConnectivityProfile This cmdlet modifies the configuration of the VPC Connectivity Profiles.
Set-VpcDhcpStaticBinding This cmdlet modifies the DHCP static binding configurations for the Virtual Private Cloud Subnet.
Set-VpcExternalConnection This cmdlet modifies the configuration of the External Connections.
Set-VpcGroup This cmdlet modifies the configuration of the VPC Groups.
Set-VpcIpBlock This cmdlet modifies the configuration of the IP Address Blocks.
Set-VpcServiceProfile This cmdlet modifies the configuration of the VPC Service Profiles.
Set-VpcSpan This cmdlet modifies the configuration of the Spans.
Set-VpcSubnet This cmdlet configures Virtual Private Cloud (VPC) subnet.
Set-VpcTransitGateway This cmdlet modifies the configuration of the Transit Gateways.