Commvault / CVPowershellSDK

Developer SDK - Powershell
12 stars 12 forks source link

CVPowershellSDK

CVPowershellSDK is a Windows PowerShell package for Commvault software.

CVPowershellSDK uses the Commvault REST API to perform operations on a CommCell via the WebConsole.

Requirements

Installation

After downloading and extracting the package, if necessary unblock the downloaded PowerShell modules:

Online Install

To install the modules for all users:

To install the modules for the current user only:

Offline Install

To install the modules in 'Offline' mode for all users:

To install the modules in 'Offline' mode for the current user only:

Usage

Login to Commcell:

To use AccessToken to connect to the Commcell

Sample Package Function Table

Available from SP30

Available From V11 SP20:

Uninstallation

If the Commvault PowerShell modules were installed with the AllUsers scope:

If the Commvault PowerShell modules were installed with the CurrentUser scope:

Contributions

Contributions are welcome; please do a pull request against the 'dev' branch.


New Module: CVPowershellSDKV2

We have introduced a new Powershell SDK called Powershell SDK V2. You can use the Commvault PowerShell module to interact with objects in your CommCell environment using PowerShell cmdlets. The cmdlets allow you to perform much more tasks allowed in command center.

New module also includes the above commandlets from CVPowershellSDK

GitHub Link: Commvault/CVPowershellSDKV2

Installing powershell SDK from Powershell Gallery

The new SDK is published on the PowerShell Gallery.

Launch a PowerShell session and execute the following command:

Install-Module -Name CommvaultPowerShell

After installation, verify the cmdlets by running:

Get-Command –Module CommvaultPowerShell

For more information on a cmdlet, execute:

Get-Help –Name <cmdlet name>

Please visit the GitHub Commvault/CVPowershellSDKV2 for more details.



Questions/Comments/Suggestions
--------------
If you have any questions or comments, please contact us [here](https://ma.commvault.com/).
Also Check out our community for [Automation](https://community.commvault.com/developer-tools-integration-and-automation-workflow-rest-powershell-etc-50) incase of queries.