Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

Validates whether hosts that are managed by VMM are suitable as a nodes of a failover cluster.

Syntax

Test-SCVMHostCluster -VMHostCluster <VMHostCluster> [-Credential <VMMCredential PSCredential>] [-JobVariable <String>] [-PROTipID <Guid>] [-RunAsynchronously <SwitchParameter>] [-VMMServer <String ServerConnection>] [<CommonParameters>]

Test-SCVMHostCluster -VMHost <Host[]> [-Credential <VMMCredential PSCredential>] [-JobVariable <String>] [-PROTipID <Guid>] [-RunAsynchronously <SwitchParameter>] [-VMMServer <String ServerConnection>] [<CommonParameters>]

Detailed Description

The Test-SCVMHostCluster cmdlet validates whether one or more hosts that are managed by System Center Virtual Machine Manager (VMM) is suitable as a node of a failover cluster. For more information about Test-SCVMHostCluster, type: "Get-Help Test-SCVMHostCluster -online".

Parameters

-VMHost [<>]

Specifies an array of virtual machine host objects.

Required?   true
Position?   named
Default value?  
Accept pipeline input?   true (ByValue)
Accept wildcard characters?   false

-VMHostCluster [<>]

Specifies a VMM host cluster object.

Required?   true
Position?   named
Default value?  
Accept pipeline input?   true (ByValue)
Accept wildcard characters?   false

-Credential [<>]

Specifies a credential object or, for some cmdlets, a Run As account object that contains the user name and password of an account that has permission to perform this action. Or, in the case of Restart-SCJob, has permission to complete a restarted task.

For more information about the PSCredential object, type: "Get-Help Get-Credential".

For more information about Run As accounts, type: "Get-Help New-SCRunAsAccount".

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

-JobVariable [<>]

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

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

-PROTipID [<>]

Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

-RunAsynchronously [<>]

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

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

-VMMServer [<>]

Specifies a VMM server object.

Required?   false
Position?   named
Default value?  
Accept pipeline input?   true (ByValue)
Accept wildcard characters?   false

Return Type

ClusterValidationResult

Notes

Examples

1: Validate nodes to be clustered

PS> PS C:\> $HostGroup = Get-SCVMHostGroup -Name "New York" PS C:\> $Nodes = Get-SCVMHost | where {$_.Name