Delen via


Update-SCClusterFunctionalLevel

Updates cluster functional level of a virtual machine host cluster or file server cluster.

Syntax

Update-SCClusterFunctionalLevel
      [-VMHostCluster] <HostCluster>
      [-RunAsynchronously]
      [-PROTipID <Guid>]
      [-JobVariable <String>]
      [<CommonParameters>]
Update-SCClusterFunctionalLevel
      [-StorageFileServer] <StorageFileServer>
      [-RunAsynchronously]
      [-PROTipID <Guid>]
      [-JobVariable <String>]
      [<CommonParameters>]

Description

The Update-SCClusterFunctionalLevel cmdlet updates the cluster functional level of a Hyper-V host cluster or file server cluster.

Examples

Example 1: Update a host cluster

PS C:\> Get-SCVMHostCluster -Name "VMHostCluster03.Contoso.com" | Update-SCClusterFunctionalLevel

This command gets the host cluster that has the specified name by using the Get-SCVMHostCluster cmdlet. The command passes that cluster to the current cmdlet by using the pipeline operator. The current cmdlet updates the functional level of that cluster, and returns the updated HostCluster object.

Parameters

-JobVariable

Specifies that job progress is tracked and stored in the variable named by this parameter.

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

-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

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

-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

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

-StorageFileServer

Specifies a storage file server that this cmdlet updates.

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

-VMHostCluster

Specifies a Virtual Machine Manager (VMM) host cluster that this cmdlet updates.

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