Get-WBVssBackupOptions
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.
Syntax
Get-WBVssBackupOptions [-Policy] <WBPolicy> [<CommonParameters>]
Detailed Description
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.
Parameters
-Policy <WBPolicy>
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 |
-CommonParameter
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.
Input and Return Types
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.
Notes
- To use Windows Server Backup cmdlets, you must be a member of the Administrators group or Backup Operators group.
Examples
EXAMPLE 1
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.