NAME

Get-DcsWitness

SYNOPSIS

Returns witness data for the server group.

SYNTAX

Get-DcsWitness   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Returns witness data for the server group.

PARAMETERS

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection is used.

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

-PipelineVariable<String>

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

INPUTS

OUTPUTS

WitnessData : Object that identifies the witness.

NOTES

DefaultWitnessId and DefaultWitnessOption are included in the ServerGroupData object returned from Get-DcsServerGroup to determine which witness is assigned as the default for the server group. WitnessId and WitnessOption in the VirtualDiskData object returned from Get-DcsVirtualDisk to determine the witness set for a virtual disk. NoWitness is displayed as the default option. Related cmdllets: Add-DcsWitness, Set-DcsServerGroupDefaultWitnessProperties, Set-DcsVirtualDiskWitnessProperties, Set-DcsWitnessProperties, Invoke-DcsWitnessContact, Remove-DcsWitness.

EXAMPLES


-------------- Example 1 Gets witness data for witnesses in the server group --------------
				Get-DcsWitness
		
Returns the WitnessData objects for all witnesses in the server group. In this case, there is one witness in the server group.
Alias:Witness 1
Server:
IPAddress:172.99.99.999
Sequencenumber:1232600
Id:8d15390ca0bb4db5ade39938cac0fd9a
Caption:Witness 1
ExtendedCaption:
Internal:False