Enable-WssClientBackupVolume

Enable-WssClientBackupVolume

Enables backup for a volume on a computer.

Syntax

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

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

Detailed Description

The Enable-WssClientBackupVolume cmdlet enables 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: Enable backup for a volume

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

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

Disable-WssClientBackupVolume

Get-WssClientBackupVolume

Get-WssClientBackupVolumeJob