Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » Powershell Scri... » Tips 'n Tricks   (RSS)

DPM CLI Tips 'n Tricks: Powershell Basics - Part II

Tab Completion The most fascinating part of DPM Management Shell is Tab Completion of cmdlets. By learning the common verbs in Powershell (like Get, Set, Start etc.), a Windows or an Exchange admin can easily use that knowledge and learn the DPM cmdlets.

DPM CLI: Quick reference help

While using the DPM Management Shell, one would like to have a list of all cmdlets and its short help for quick reference. Also, we heard it would be useful to group the various cmdlets by the function they do – e.g. Library, Disk, Recovery or Protection
Posted by dpm | 0 Comments
Attachment(s): DPM CLI List.xls

CLI Script: Auto re-running consistency checks

Some customers had non-DPM issues, like network issues because of which consistency check (CC) jobs failed too often. For the benefit of them, we have added a script that would re-try CC until it succeeds. Note: In some cases, CC would impact the protected

DPM CLI Tips 'n Tricks: Powershell Basics

The scripts posted in this blog require knowledge of Powershell and DPM cmdlets. So we thought we would present some tips ‘n tricks to become power users! Introduction The first difference between any normal Command Line Interface (CLI) (typically, Windows

CLI Script: To recover a DPM replica volume from data stored in tape

When a disaster occurs, and you lose your replica volume for any datasource, you could re-seed the replica from the backed-up data you have in tape. This little script initializes replica from a tape recovery point. The parameters have to be customized

CLI Script: To remove all datasources in inactive protection state

This script removes all inactive datasources under a given DPM server. It provides options to remove inactive datasources on disk/tape/both. Save this as a .ps1 file and invoke it from inside the DPM Management Shell. Please contact us if you need any further assistance in running the script or face any issues. ---------------------- Start of Script --------------------------------- param([string] $DPMServerName, [string] $RemoveOption)

Script: Auto-add new SQL DBs for protection

This is a sample script that will automatically add all the newly available SQL DBs in all instances for protection. You can customize this easily to change the protection policy. Save the attached file as a .ps1 file and invoke through the DPM Management

CLI: Grow your replica and shadow copy volume sizes automatically!

How cool would it be, if we could schedule a nightly task that automatically grows your replica and shadow copy storage volume sizes, and in turn help the protection SLA to be good for the rest of the week! The script below does exactly the same. Save
Posted by dpm | 3 Comments

Scripting the DPM agent installation...

Installing the DPM protection agent in your environment can be a challenging task if you have a large number of computers to backup. This may be made harder by security lockdowns, firewalls or other configurations in your environment. Given the challenges,
 
Page view tracker