Share via


Update-SCClusterFunctionalLevel

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

Syntax

UpdateVMHostCluster

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

UpdateStorageFileServerCluster

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments: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.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RunAsynchronously

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StorageFileServer

Specifies a storage file server that this cmdlet updates.

Parameter properties

Type:StorageFileServer
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateStorageFileServerCluster
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-VMHostCluster

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

Parameter properties

Type:HostCluster
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateVMHostCluster
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.