Compartir a través de


Get-WssGlobalClientBackupPolicy

Get-WssGlobalClientBackupPolicy

Gets the current global client backup policy.

Syntax

Get-WssGlobalClientBackupPolicy [ <CommonParameters>]

Detailed 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.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

  • Microsoft.WindowsServerSolutions.DataProtection.PCBackup.BackupUtil.WcfContracts.PCBackupConfiguration

Outputs

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

Examples

Example 1: Get the global client backup policy

This command gets the global client backup policy.

PS C:\> Get-WssGlobalClientBackupPolicy

Set-WssGlobalClientBackupPolicy