PowerShell Logo Small

Update-ClusterIPResource



This is the built-in help made by Microsoft for the command 'Update-ClusterIPResource', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Renews or releases the DHCP lease for an IP address resource in a failover cluster.

SYNTAX


Update-ClusterIPResource [[-Name] <String>] [-Cluster <String>] [-InputObject <PSObject>] [-Release] [-Renew] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Update-ClusterIPResource cmdlet renews or releases the DHCP lease for an IP address resource in a failover cluster. This cmdlet applies only to IP address resources that
use DHCP.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=321081
Where-Object
Get-ClusterResource
Update-ClusterNetworkNameResource

REMARKS

<

Examples


Example 1

PS C:\>Update-ClusterIPResource –Name "Cluster IP Address"
Name State Group ResourceType
---- ----- ----- ------------
Cluster IP Address Online Cluster Group IP Address



This example updates the DHCP lease for the resource called Cluster IP Address if this resource is DHCP assigned.




Example 2

PS C:\>Get-ClusterResource | Where-Object –FilterScript {$_.ResourceType.Name -eq "IP Address"} | Update-ClusterIPResource
Name State Group ResourceType
---- ----- ----- ------------
Cluster IP Address Online Cluster Group IP Address
IP Address 172.2... Online cluster1-Other IP Address
IP Address 172.2... Online cluster1-FS IP Address



This example updates the DHCP lease for all of the clustered IP resources that are DHCP assigned.




Example 3

PS C:\>Get-ClusterResource –Name "IP Address 172.24.11.0" | Stop-ClusterResource | Update-ClusterIPResource -Release
Name State Group ResourceType
---- ----- ----- ------------
IP Address 172.2... Offline cluster1-Other IP Address



This example takes the resource named IP Address 172.24.11.0 offline, and releases the DHCP lease for that resource.