Editar

Partilhar via


Update-ClusterNetworkNameResource

Registers existing Network Name resources with a DNS server in a way that doesn't 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 doesn't interrupt cluster availability.

Examples

Example 1: Register name resources with a DNS server

Get-ClusterResource -Name "Cluster Name" | Update-ClusterNetworkNameResource

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