{Powershell Downloads + Powershell Core Downloads }
This project provides a PowerShell Module for interacting with the Cohesity DataPlatform. It includes cmdlets useful for automating common tasks and orchestrating workflows in your environment. This PowerShell module can be used on Windows, Linux and Mac OS.
- Getting Started
- Samples
- Documentation
- How can you contribute
- Installation tips
- Suggestions and Feedback
The pre-requisites for using the Cohesity PowerShell Module are as below:
- Cohesity Cluster running software version
6.0
or higher and Powershell 5.1 or higher. For more details refer this link
You can install Cohesity PowerShell Module directly using the PowerShell Gallery.
Install-Module -Name Cohesity.PowerShell.Core
Install-Module -Name Cohesity.PowerShell
** Note: Windows with powershell version 7 or higher supports only Powershell Core
- Online reference for Cohesity PowerShell Cmdlets.
- All the commands have an inline example on how to use the command
If you are running PowerShell as a user without elevated privileges (non-admin user), you may need to add -Scope CurrentUser
to these commands. In some cases, you may also need to run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
to set the execution policy that allows import of the module.
- Download the offline package (.zip) from GitHub release page
- For windows, use
Cohesity.PowerShell.zip
- For linux and MacOS, use
Cohesity.PowerShell.Core.zip
- For windows, use
- Copy over this zip file to the target machine
- Unzip the contents of the zip file to one of the directory paths mentioned in the output of
$env:PSModulePath
on the target machine.
Tip: It's recommended to always use the latest version of the Cohesity PowerShell Module to get the new features and bug-fixes.
You can uninstall the previous version of the Cohesity PowerShell Module using the uninstall steps mentioned below and then install the new version.
Alternatively, you can also use the steps below to upgrade to the latest version of the module. Note that using Update-Module
can cause multiple versions of this module on your system. You may later need to remove older versions of the module manually.
Update-Module -Name Cohesity.PowerShell.Core
Update-Module -Name Cohesity.PowerShell
Uninstall-Module -Name Cohesity.PowerShell.Core
Uninstall-Module -Name Cohesity.PowerShell
We would love to hear from you. Please send your suggestions and feedback to: [email protected]
Apache 2.0