Sep 26, 2018|3 min|Developers

Automate Secondary Data Management with Cohesity DataPlatform Using PowerShell

When it comes to automation, PowerShell has always been the de-facto standard for the Windows platform and now with PowerShell Core, it’s fast gaining popularity on other platforms such as Mac OS X and Linux too.

Today we are pleased to announce the availability of Cohesity PowerShell Module, which allows you to automate common tasks and build workflows using the Cohesity DataPlatform and PowerShell.

Cohesity PowerShell Module is built on top of the Cohesity DataPlatform REST API and allows you to perform the common operations including the below and more:

  • Get cluster information
  • Register new protection sources
  • Manage protection jobs
  • Monitor alerts and audit logs
  • Recover VMs

Cohesity PowerShell Module makes it super easy to automate your Cohesity environment even if you are not familiar with the REST API. If you have used PowerShell before, you will feel right at home while using the cmdlets provided by Cohesity PowerShell Module.

This module supports the standard PowerShell features that you love such as object pipeline and auto-completion of parameters.

Ready, set, and go: Quick setup and easy to use

This PowerShell Module can be used on Windows, Mac OS X, and Linux and is available on the PowerShell Gallery.

The online reference guide provides you with all the details about the prerequisites, installation and the first steps, once you have installed the Cohesity PowerShell Module.

Batteries included!

You can also find code samples in the online reference guide that demonstrate the use of Cohesity PowerShell Cmdlets to perform common tasks. Here is an example that shows you how to add virtual machines to an existing protection job. You can also use the offline help once you have installed the module using Get-Help cmdlet.

Open-source and hosted on GitHub

Cohesity PowerShell Module is an open-source project and available under Apache 2.0 license. It is hosted on GitHub. Since this is an open-source community project hosted on GitHub you can contribute to the code samples as well. We welcome contributions and feedback and if you would like to contribute, please contact us at cohesity-api-sdks@cohesity.com

 

Conclusion

You can now also manage Cohesity DataPlatform using the tool of your choice: PowerShell. This module leverages the power of Cohesity DataPlatform REST API and makes it available via easy-to-use PowerShell Cmdlets. We are adding more cmdlets on a constant basis and welcome feedback and contributions on GitHub.

Written by

team-cohesity-author-thumb-bw

Team Cohesity

team-cohesity-author-thumb-bw

Team Cohesity

You may also like

resource
Blog

New DSPM integration with Cyera shows the power of open APIs

resource
Blog

How Cohesity and Cisco XDR help you reduce data loss and recover faster with automated threat response

X image
Icon ionic ios-globe

You are now leaving the German section of www.cohesity.com/de/ and come to an English section of the site. Please click if you want to continue.

Don't show this warning again

Icon ionic ios-globe

You are now leaving the German section of www.cohesity.com/de/ and come to an English section of the site. Please click if you want to continue.

Don't show this warning again