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.
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 |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
Microsoft.WindowsServerSolutions.MultipointServer.PowerShell.Commands.Library.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.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for