{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.
The pre-requisites for using the Cohesity PowerShell Module are as below:
6.0
or higher and Powershell 5.1 or higher. For more details refer this linkYou can install Cohesity PowerShell Module directly using the PowerShell Gallery.
MacOS
and Linux
) Install-Module -Name Cohesity.PowerShell.Core
Windows
) Install-Module -Name Cohesity.PowerShell
** Note: Windows with powershell version 7 or higher supports only Powershell Core
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.
Cohesity.PowerShell.zip
Cohesity.PowerShell.Core.zip
$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: support@cohesity.com
Apache 2.0