Enable-WmsDiskProtection
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 |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | 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 |
Aliases: | ComputerName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |