Export (0) Print
Expand All


Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2


Removes the system state components from the backup policy.


Parameter Set: Default
Remove-WBSystemState [-Policy] <WBPolicy> [ <CommonParameters>]

Detailed Description

The Remove-WBSystemState cmdlet removes the system state components from a policy contained in the WBPolicy object. Depending on what the WBPolicy object includes, you may still backup some of the components that are part of the system state, but you may not be able to use the components in a system state recovery.

The WBPolicy object must be in edit mode. To put the WBPolicy object in edit mode for a policy that is the scheduled backup policy, use the Get-WBPolicy cmdlet with the Editable parameter. The New-WBPolicy cmdlet creates a new WBPolicy object that is already in edit mode.

To use this cmdlet, you must be a member of the Administrators group or Backup Operators group.



Specifies the backup policy WBPolicy object to update.







Default Value


Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?



This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.


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

  • WBPolicy

    The Remove-WBSystemState cmdlet queries the WBPolicy object to determine whether the WBSystemState object is present. The cmdlet does nothing if the WBSystemState object is not already present. The cmdlet removes the WBSystemState object if it is present.


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

  • None


Example 1: Remove system state from the backup policy

This example removes the system state components from the WBPolicy object.

The first command stores the results of the Get-WBPolicy cmdlet in the variable named $Policy.

The second command removes system state components from the backup policy in the variable $Policy.

PS C:\> $Policy = Get-WBPolicy
PS C:\> Remove-WBSystemState -Policy $Policy

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft