Get-WBVssBackupOptions
Gets a setting that specifies whether the backups created using the backup policy (WBPolicy object) will be Volume Shadow Copy Service (VSS) copy backups or VSS full backups.
Get-WBVssBackupOptions [-Policy] <WBPolicy> [<CommonParameters>]
The Get-WBVSSBackupOptions cmdlet gets a setting that specifies whether the backups created using the backup policy (WBPolicy object) will be Volume Shadow Copy Service (VSS) copy backups or VSS full backups. For more information about VSS copy and VSS full backups, or to change this setting, refer to the Set-WBVSSBackupOptions cmdlet.
Specifies the backup policy (WBPolicy object) to display information for.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
true (ByValue) |
Position? |
1 |
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, 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. The return type is the type of the objects that the cmdlet emits.
- To use Windows Server Backup cmdlets, you must be a member of the Administrators group or Backup Operators group.
C:\PS>Get-WBVssBackupOptions -Policy $policy
A value of either VssFullBackup or VssCopyBackup.
Description
-----------
Gets the Volume Shadow Copy Service (VSS) setting, either VssCopyBackup or VssFullBackup, depending on whether you specified that the backups be created using the WBPolicy object $policy be VSS copy backups or VSS full backups.