Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Enable-WmsDiskProtection

Brian Lich|Last Updated: 3/31/2017

SYNOPSIS

Enables disk protection.

SYNTAX

Enable-WmsDiskProtection [-Server <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Enable-WmsDiskProtection cmdlet installs the disk protection filter driver, configures the driver to be in discard mode, and restarts the system to enable disk protection.

EXAMPLES

Example 1: Enable disk protection

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

This command installs the disk protection filter driver on the computer Sample.microsoft.com and configures the driver to be in discard mode. The computer is then restarted to apply the change.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-Server

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

Type: String
Parameter Sets: (All)
Aliases: ComputerName

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

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

INPUTS

OUTPUTS

NOTES

Disable-WmsDiskProtection

Get-WmsDiskProtection

Resume-WmsDiskProtection

Suspend-WmsDiskProtection

© 2017 Microsoft