Microsoft Download Center Archive

DPM 2010 PowerShell Script - Hyper-V Auto-Protection

  • Published:
  • Version: 1.0 2009-12
  • Category: SDK
  • Language: English

sample PowerShell scripts for enabling DPM 2010 auto-protection of Hyper-V

  • In any virtualized environment, adding new VMs is a frequent operation. While backup administrators can protect an entire Hyper-V host using the DPM Management Console, the protection group had to be modified manually to include the new virtual machines that have come up on the Hyper-V host. These scripts are expected to work with DPM 2010 Beta. By using them, you should be able to quickly put together a script that can enable the auto protection of your hyper-v hosts. Note: These scripts work on an existing protection group and do not create a fresh protection group.The attached scripts automate the task of adding any new virtual machines recognized in the Hyper-V hosts protected by the DPM server into existing protection groups. There are different scripts for Hyper-V clusters (AddNewClusteredVM.ps1) and standalone Hyper-V hosts (AddNewStandAloneVM.ps1). You would still use the script for standalone servers to automatically protect the non-clustered virtual machines of any Hyper-V host that is part of a cluster. To add new VMs that are added in your primary DPM server, to be protected on the secondary DPM server as well you can use the scripts AddNewClusteredVMToDRServer.ps1 and AddNewStandAloneVMToDRServer.ps1 .

Files

Status: Live

This download is still available on microsoft.com. The downloads below will come directly from the Microsoft Download Center.

FileSHA1 HashSize
AddNewStandAloneVM.ps1204c4e3fbf6894e1646f9f7902d15a69e47c94b22 KB

File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.

System Requirements

Operating Systems: Windows Server 2008, Windows Server 2008 R2

  • DPM 2010

Installation Instructions

  • Please provide feedback on these via the DPM blog -- http://blogs.technet.com/DPM