-
Notifications
You must be signed in to change notification settings - Fork 52
New HPOVAddressPoolSubnet
Create an IPv4 Subnet Pool.
New-HPOVAddressPoolSubnet [-NetworkId] <IPAddress> [-SubnetMask] <String> [-Gateway] <IPAddress> [-Domain] <String> [-DNSServers] <Array> [-ApplianceConnection] <Object> [<CommonParameters>]
This cmdlet will assist with creating a new IPv4 Address Pool. When creating a new IPv4 Address Subnet, you must provide the Network ID, Subnet Mask (CIDR [e.g. 24] or IPv4 Address Value [e.g. 255.255.255.0]), Gateway and Domain Name. DNS Servers are optional.
To add IPv4 Address Ranges to a Subnet after creating it, please use the New-HPOVAddressPoolRange CMDLET.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-DNSServers <Array>
An array of DNS Server IPv4 Addresses.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Domain <String>
DNS Domain Name of the subnet.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Gateway <IPAddress>
IPv4 Address of the default gateway for the subnet.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-NetworkId <IPAddress>
The IPv4 Network ID value of the subnet.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SubnetMask <String>
CIDR [e.g. 24] or IPv4 Address Value [e.g. 255.255.255.0]
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
HPOneView.Appliance.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]
Newly created IPv4 Address Subnet
-------------------------- EXAMPLE 1 --------------------------PS C:> New-HPOVAddressPoolSubnet -NetworkID 192.168.10.0 -Subnetmask 24 -Gateway 192.168.10.254 -Domain vlan10.domain.com -DNSServers 10.250.33.12,10.250.34.80
Create a new IPv4 Address Pool with the specified values.
Create an IPv4 Subnet Pool.
New-HPOVAddressPoolSubnet [-NetworkId] <IPAddress> [-SubnetMask] <String> [-Gateway] <IPAddress> [-Domain] <String> [-DNSServers] <Array> [-ApplianceConnection] <Object> [<CommonParameters>]
This cmdlet will assist with creating a new IPv4 Address Pool. When creating a new IPv4 Address Subnet, you must provide the Network ID, Subnet Mask (CIDR [e.g. 24] or IPv4 Address Value [e.g. 255.255.255.0]), Gateway and Domain Name. DNS Servers are optional.
To add IPv4 Address Ranges to a Subnet after creating it, please use the New-HPOVAddressPoolRange CMDLET.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-DNSServers <Array>
An array of DNS Server IPv4 Addresses.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Domain <String>
DNS Domain Name of the subnet.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Gateway <IPAddress>
IPv4 Address of the default gateway for the subnet.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-NetworkId <IPAddress>
The IPv4 Network ID value of the subnet.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SubnetMask <String>
CIDR [e.g. 24] or IPv4 Address Value [e.g. 255.255.255.0]
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
HPOneView.Appliance.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]
Newly created IPv4 Address Subnet
-------------------------- EXAMPLE 1 --------------------------PS C:> New-HPOVAddressPoolSubnet -NetworkID 192.168.10.0 -Subnetmask 24 -Gateway 192.168.10.254 -Domain vlan10.domain.com -DNSServers 10.250.33.12,10.250.34.80
Create a new IPv4 Address Pool with the specified values.