Get-WssGlobalClientBackupPolicy
Gets the current global client backup policy.
Syntax
Get-WssGlobalClientBackupPolicy []
Description
The Get-WssGlobalClientBackupPolicy cmdlet gets the current global client backup policy. This policy includes the following values:
- BackupStartTime. The beginning of the backup window. The default value is 18:00.
- BackupEndTime. The end of the backup window. The default value is 9:00.
- DailyRetainCount. The number of daily backups to keep. The default value is five.
- WeeklyRetainCount. The number of weekly backups to keep. The default value is four.
- MonthlyRetainCount. The number of monthly backups to keep. The default value is six.
- YearlyRetainCount. The number of yearly backups to keep. The default value is ten.
You can use the Set-WssGlobalClientBackupPolicy cmdlet to change any of these settings, or to reset all settings to their default values.
Examples
Example 1: Get the global client backup policy
PS C:\> Get-WssGlobalClientBackupPolicy
This command gets the global client backup policy.
Inputs
Microsoft.WindowsServerSolutions.DataProtection.PCBackup.BackupUtil.WcfContracts.PCBackupConfiguration
Outputs
Microsoft.WindowsServerSolutions.DataProtection.PCBackup.BackupUtil.WcfContracts.PCBackupConfiguration
This cmdlet generates the PC backup configuration.