Update-ClusterNetworkNameResource

Registers existing Network Name resources with a DNS server in a way that does not interrupt cluster availability.

Syntax

Update-ClusterNetworkNameResource
      [[-Name] <StringCollection>]
      [-InputObject <PSObject>]
      [-Cluster <String>]
      [<CommonParameters>]

Description

The Update-ClusterNetworkNameResource cmdlet registers existing Network Name resources with a DNS server in a way that does not interrupt cluster availability.

Examples

Example 1: Register name resources with a DNS server

PS C:\> Get-ClusterResource -Name "Cluster Name" | Update-ClusterNetworkNameResource
Name                          State                         OwnerGroup                    ResourceType 
----                          -----                         ----------                    ------------ 
Cluster Name                  Online                        Cluster Group                 Network Name

This example registers the Network Name resources of the local cluster with a DNS server.

Parameters

-Cluster

Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is . or it is omitted, then the cmdlet runs on the local cluster.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specifies the network name resource to register with the DNS server.

Type:PSObject
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specifies the network name to be registered with the DNS server.

Type:StringCollection
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.FailoverClusters.PowerShell.ClusterResource

Outputs

Microsoft.FailoverClusters.PowerShell.ClusterResource