Get-WmsDiskProtection

Gets the current state and configuration of the disk protection feature.

Syntax

Get-WmsDiskProtection
   [-Server <String>]
   [<CommonParameters>]

Description

The Get-WmsDiskProtection cmdlet gets the current configuration of the disk protection feature. The configuration can be NotInstalled, Discard, or Passive.

Examples

Example 1: Get the disk protection configuration for the local computer

PS C:\> Get-WmsDiskProtection
Discard

This command returns the state of the disk protection feature on the local computer.

Example 2: Get the disk protection configuration for a specified computer

PS C:\> Get-WmsDiskProtection -Server "Sample.microsoft.com"
Passive

This command returns the state of the disk protection feature on the specified computer.

Optional Parameters

-Server

Specifies the fully qualified host name of the MultiPoint Server that is the target of the command. The default is localhost.

Type:String
Aliases:ComputerName
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Outputs

DiskProtectionMode

The DiskProtectionMode object is an enumeration with one of three values that reflect the current mode of the disk protection feature. The possible values are NotInstalled, Discard, or Passive.