Powershell SDK - Not able to Connect to Server

Last post 02-19-2020, 7:54 AM by DBathray. 0 replies.
Sort Posts: Previous Next
  • Powershell SDK - Not able to Connect to Server
    Posted: 02-19-2020, 7:54 AM


    I have tried the Commvault Powershell API but I am not able to do a login.

    I have Powershell v5.1 and I can login to the webconsole with a browser, but when I try to execute the Connect-CVServer with the required parameters I´m not able to make a connection.

    I get the following message (I have replaced the commserve name and the username):

    ValidateResponse :
    Status: ConnectFailure
    Message: Unable to connect to the remote server
    At C:\Path\CVPowershellSDK-master\CVPowershellSDK-master\Modules\Commvault.RESTSession\Commvault.RESTSession.psm1:469
    + ValidateResponse $response $output $ValidateProperty
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,ValidateResponse

    CommServe login failed
    Connect-CVServer : The property 'Content' cannot be found on this object. Verify that the property exists.
    At line:1 char:1
    + Connect-CVServer -Server SERVERNAME -user USER ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Connect-CVServer], PropertyNotFoundException
    + FullyQualifiedErrorId : PropertyNotFoundStrict,Connect-CVServer

    How can I troubleshoot this issue?

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Copyright © 2020 Commvault | All Rights Reserved. | Legal | Privacy Policy