New-OBPolicy

New-OBPolicy

Generates an empty OBPolicy object.

구문

New-OBPolicy [ <CommonParameters>]

자세한 설명

The New-OBPolicy cmdlet creates a new, empty backup policy (OBPolicy object).

Other cmdlets can be used to define what items will be included or excluded in backups, when the backups will run, and where backups will be stored. Then, use the Set-OBPolicy cmdlet to make the new policy the one that will be used for scheduled backups.

매개 변수

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

예제

EXAMPLE 1

This example creates a new empty backup policy.

PS C:\> New-OBPolicy

관련 항목

Set-OBPolicy