O'Reilly logo

Windows Server 2016 Automation with PowerShell Cookbook - Second Edition by Thomas Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

In step 1, you create a new editable policy and save it to $Pol. This empty policy is not yet ready to be used for an actual backup, but it is in an editable state. You use other cmdlets to populate the policy with backup details before either using it ad hoc or setting the policy as your active backup policy. In Windows Server 2016, you can have only one currently active backup policy.

In step 2, you view the newly created policy. As you can see, there are several items that you need to add before you can set this policy to active. The empty policy looks like this:

In step 3, you use Set-WBSchedule to set a time for the backup ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required