Export (0) Print
Expand All

New-OBPolicy

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

New-OBPolicy

Generates an empty OBPolicy object.

Syntax


New-OBPolicy [ <CommonParameters>]




Detailed Description

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.

To use Windows Azure Backup cmdlets, the user must be a member of the Administrators group or Backup Operators group.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

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

  • None

Outputs

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

  • Microsoft.Internal.CloudBackup.Commands.OBPolicy

Examples

EXAMPLE 1

This example creates a new empty backup policy.


PS C:\> New-OBPolicy

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft