Disable-WssClientBackupVolume

Disable-WssClientBackupVolume

Disables backup for a volume on a client.

Syntax

Parameter Set: ByName
Disable-WssClientBackupVolume [-ComputerName] <String> [-VolumeGuid] <Guid> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: BySid
Disable-WssClientBackupVolume [-ComputerSid] <String> [-VolumeGuid] <Guid> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Disable-WssClientBackupVolume cmdlet disables client backup for a volume on a computer. Specify a computer by name or security identifier (SID). Specify a volume by using its GUID.

Parameters

-ComputerName<String>

Specifies the name of a computer.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-ComputerSid<String>

Specifies the SID of a computer.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VolumeGuid<Guid>

Specifies the GUID of a volume.

Aliases

none

Required?

true

Position?

4

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Disable backup for a volume

This command disables backup for the specified volume on the computer named Workstation073.

PS C:\> Disable-WssClientBackupVolume -ComputerName "Workstation073" -VolumeGuid b6b093a2-1860-4172-a4a5-07ce2aebfa13 

Enable-WssClientBackupVolume

Get-WssClientBackupVolume

Get-WssClientBackupVolumeJob