Get-WBVssBackupOption

Windows Server 2012 R2 and Windows 8.1

Get-WBVssBackupOption

Retrieves a VSS setting from the backup policy.

구문

Parameter Set: Default
Get-WBVssBackupOption [-Policy] <WBPolicy> [ <CommonParameters>]




자세한 설명

The Get-WBVSSBackupOptions cmdlet retrieves a setting that determines whether the backups created through the WBPolicy object are Volume Shadow Copy Service (VSS) copy backups or VSS full backups. For more information about VSS copy backups and VSS full backups, or to change this setting, refer to the Set-WBVSSBackupOptions cmdlet.

To use this cmdlet, you must be a member of the Administrators group or Backup Operators group.

매개 변수

-Policy<WBPolicy>

Specifies the WBPolicy object to display.


별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

True (ByValue)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(http://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

  • WBPolicy

    The Get-WBVssBackupOptions cmdlet queries the WBPolicy object.


출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • Microsoft.Windows.ServerBackup.Commands.VssBackupOptions

    The Get-WBVssBackupOptions cmdlet returns either VssCopyBackup or VssFullBackup, depending on the option specified in the WBPolicy object.


예제

Example 1: Get the VSS setting from the backup policy

This example gets the VSS setting, either VssCopyBackup or VssFullBackup.

The first command stores the result ofthe Get-WBPolicy cmdlet in the variable named $Policy.

The second command gets the VSS setting from the variable $Policy.


PS C:\> $Policy = Get-WBPolicy
PS C:\> Get-WBVssBackupOption -Policy $Policy

관련 항목


New-WBPolicy

Set-WBVSSBackupOptions

커뮤니티 추가 항목

추가
표시: