Disable-WssClientBackup

Disables client backup for a computer.

Syntax

Disable-WssClientBackup
       [-ComputerName] <String>
       [-Force]
       [-RemoveBackup]
       [-Confirm]
       [-WhatIf]
Disable-WssClientBackup
       [-ComputerSid] <String>
       [-Force]
       [-RemoveBackup]
       [-Confirm]
       [-WhatIf]

Description

The Disable-WssClientBackup cmdlet disables client backup for a computer. Specify a computer by name or security identifier (SID). Use the RemoveBackup parameter to remove existing backups.

This cmdlet prevents client backups from the current time forward. If you want to stop only a current backup operation, use the Stop-WssClientBackup cmdlet.

Examples

Example 1: Disable client backup for a computer

PS C:\> Disable-WssClientBackup -ComputerName "Workstation073" -RemoveBackup

This command disables client backups for a computer named Workstation073, and removes any existing backup.

Parameters

-ComputerName

Specifies the name of a computer.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ComputerSid

Specifies the SID of a computer.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-Force

Forces the command to run without asking for user confirmation.

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

-RemoveBackup

Indicates that the cmdlet removes the current client backup for the specified computer.

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

-WhatIf

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

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