Get-OBFileSpec

Get-OBFileSpec

Gets the list of OBFileSpec objects associated with the specified backup policy (OBPolicy object).

구문

Parameter Set: Default
Get-OBFileSpec [-Policy] <CBPolicy> [ <CommonParameters>]

자세한 설명

The Get-OBFileSpec cmdlet gets the list of OBFileSpec[] objects associated with the specified backup policy (OBPolicy object). The OBFileSpec[] objects define what items will be included or excluded from backups created using the backup policy. Use the New-OBFileSpec and Add-OBFileSpec cmdlets to define and apply changes to the backup policy.

매개 변수

-Policy<CBPolicy>

Specify the policy from which to obtain the list of file specifications.

별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

true (ByValue)

와일드카드 문자 허용 여부

false

<CommonParameters>

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

입력

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

  • None

출력

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

  • Microsoft.Internal.CloudBackup.Commands.OBFileSpec[]

예제

EXAMPLE 1

This example gets the file specification for a given policy.

PS C:\> Get-OBPolicy | Get-OBFileSpec

관련 항목

Add-OBFileSpec

Get-OBPolicy

New-OBFileSpec