DPM CLI> Hello World

Welcome to the DPM CLI world. The CLI is based upon the latest Powershell technology from Microsoft, and gives the user a powerful scripting and CLI experience in a .Net environment. Feel free to browse through the Powershell pages, blogs etc. for great reads on this cool technology. You can also download lots of sample scripts from there.


Introduction to DPM CLI design


In DPM v2, we have built cmdlets for the following scenarios: Disk and Library Management, Protection and Recovery. In fact, the UI for these areas also use cmdlets internally (except for Disk Management), and that ensures the same user experience across UI and CLI. If an ISV were to build a small applet outside DPM, one could use the same cmdlets. Hence, this gives a great engineering benefit for the product, and simplified learning experience for customers.


Machine Boundary


DPM CLI Design 






















What scenarios can be automated through CLI?

All the protection, recovery, library and disk management scenarios that can be done from the UI can be done from CLI too. In fact, there are features like setting up of backup LAN, configuring protection and housekeeping job start times, agent configuration over a firewall, Disaster recovery switch protection etc. that can be done only from the CLI.


Remotability of CLI

Though both the UI and CLI sit above the cmdlet layer, only the CLI is remotable in DPM v2. By using the Connect-DPMServer and Disconnect-DPMServer, one can connect to multiple DPM servers (one-by-one, at a time, only one active connection is possible) in the same session.


This is a new feature for DPM v2 Beta2, and we would love your feedback. Going forward, we would be posting bunch of sample scripts for various scenarios here.


          Balaji Hariharan