Skip to content

New HPOVAddressPoolSubnet

Chris Lynch edited this page Sep 19, 2019 · 16 revisions

Library Version 5.00

Library Version 4.20

Library Version 4.10

HPE OneView 5.00 Library

New-HPOVAddressPoolSubnet

Create an IPv4 Subnet Pool.

SYNTAX

New-HPOVAddressPoolSubnet [-NetworkId] <IPAddress> [-SubnetMask] <String> [-Gateway] <IPAddress> [-Domain] <String> [-DNSServers] <Array> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

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.

Parameters

-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 PrefixLength
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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Appliance.IPAddressSubnet [System.Management.Automation.PSCustomObject]

Newly created IPv4 Address Subnet

Examples

 -------------------------- 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.

Related Links


HPE OneView 4.20 Library

New-HPOVAddressPoolSubnet

Create an IPv4 Subnet Pool.

SYNTAX

New-HPOVAddressPoolSubnet [-NetworkId] <IPAddress> [-SubnetMask] <String> [-Gateway] <IPAddress> [-Domain] <String> [-DNSServers] <Array> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

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.

Parameters

-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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Appliance.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]

Newly created IPv4 Address Subnet

Examples

 -------------------------- 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.

Related Links


HPE OneView 4.10 Library

New-HPOVAddressPoolSubnet

Create an IPv4 Subnet Pool.

SYNTAX

New-HPOVAddressPoolSubnet [-NetworkId] <IPAddress> [-SubnetMask] <String> [-Gateway] <IPAddress> [-Domain] <String> [-DNSServers] <Array> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

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.

Parameters

-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)

Input Types

None. You cannot pipe objects to this cmdlet.

Return Values

HPOneView.Appliance.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]

Newly created IPv4 Address Subnet

Examples

 -------------------------- 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.

Related Links


Wiki Table of Contents

Clone this wiki locally
You can’t perform that action at this time.