Get-WssBackupSchedule

Get-WssBackupSchedule

Gets the backup schedule from a scheduled backup policy.

構文

Parameter Set: Default
Get-WssBackupSchedule [-BackupPolicy] <ScheduledBackupPolicy> [ <CommonParameters>]

詳細説明

The Get-WssBackupSchedule cmdlet gets the backup schedule from a scheduled backup policy.

パラメーター

-BackupPolicy<ScheduledBackupPolicy>

Specifies the scheduled backup policy from which to get the schedule.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • System.DateTime

    This cmdlet returns a list of backup schedule times.

Example 1: Get a backup schedule from a scheduled backup policy

This example gets the backup schedule from a scheduled backup policy.

The first command gets the backup policy for the computer and stores the result in the $ContosoBUPolicy25 variable

The second command gets the backup schedule from the scheduled backup policy stored in $ContosoBUPolicy25$ContosoBUSched25.

PS C:\> $ContosoBUPolicy25 = Get-WssBackupPolicy
PS C:\> Get-WssBackupSchedule -BackupPolicy $ContosoBUPolicy25

関連トピック

Add-WssBackupSchedule

Remove-WssBackupSchedule