-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVAddressPoolSubnet
Update an IPv4 Subnet Pool configuration.
Set-HPOVAddressPoolSubnet [-InputObject] <Object>[ [-SubnetMask] <IPAddress>][ [-Gateway] <IPAddress>][ [-Domain] <String>][ [-DNSServers] <Array>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet will assist with updating an existing IPv4 Address Pool. When updating an IPv4 Address Subnet, you must provide the Subnet Object or Name to modify. Only the Gateway, Domain Name, and DNS Servers can be updated once an IPv4 Subnet has been assigned to a resoruce.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-DNSServers <Array>
An array of DNS Server IPv4 Addresses.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Domain <String>
DNS Domain Name of the subnet.
Aliases | None |
Required? | false |
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? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-Subnet, -IPv4Subnet]
The IPv4 Subnet resource object to update.
Aliases | Subnet, IPv4Subnet |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-SubnetMask <IPAddress>
IPv4 Subnet Mask of the subnet. Please know that if the Subnet is associated with another resource (Ethernet Network, Logical Enclosure or Deployment Server), there will be an error as the mask cannot be changed until it is unassociated with the resource.
Aliases | None |
Required? | false |
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)
HPOneView.Appliance.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]
IPv4 Address Subnet
HPOneView.Appliance.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]
Updated IPv4 Address Subnet
-------------------------- EXAMPLE 1 --------------------------PS C:> Get-HPOVAddressPoolSubnet 192.168.20.0 | Set-HPOVAddressPoolSubnet -Gateway 192.168.20.1
Update the IPv4 Subnet Address Pool"s default gateway to the new address.
Update an IPv4 Subnet Pool configuration.
Set-HPOVAddressPoolSubnet [-InputObject] <Object>[ [-SubnetMask] <IPAddress>][ [-Gateway] <IPAddress>][ [-Domain] <String>][ [-DNSServers] <Array>][ [-ApplianceConnection] <Object>] [<CommonParameters>]
This cmdlet will assist with updating an existing IPv4 Address Pool. When updating an IPv4 Address Subnet, you must provide the Subnet Object or Name to modify. Only the Gateway, Domain Name, and DNS Servers can be updated once an IPv4 Subnet has been assigned to a resoruce.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-DNSServers <Array>
An array of DNS Server IPv4 Addresses.
Aliases | None |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Domain <String>
DNS Domain Name of the subnet.
Aliases | None |
Required? | false |
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? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-Subnet, -IPv4Subnet]
The IPv4 Subnet resource object to update.
Aliases | Subnet, IPv4Subnet |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-SubnetMask <IPAddress>
IPv4 Subnet Mask of the subnet. Please know that if the Subnet is associated with another resource (Ethernet Network, Logical Enclosure or Deployment Server), there will be an error as the mask cannot be changed until it is unassociated with the resource.
Aliases | None |
Required? | false |
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)
HPOneView.Appliance.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]
IPv4 Address Subnet
HPOneView.Appliance.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]
Updated IPv4 Address Subnet
-------------------------- EXAMPLE 1 --------------------------PS C:> Get-HPOVAddressPoolSubnet 192.168.20.0 | Set-HPOVAddressPoolSubnet -Gateway 192.168.20.1
Update the IPv4 Subnet Address Pool's default gateway to the new address.