Skip to content

Get-CVSQLDatabaseDetail command does not work  #49

@cpuppos

Description

@cpuppos

Get-CVSQLDatabaseDetail -Name 'testdb'
Write-Error: C:\Program Files\PowerShell\Modules\CommvaultPowerShell\0.2.22
custom\oldsdk\Submit-CVRESTRequest.ps1:58:17
Line |
58 | ValidateResponse $response $output $ValidateProperty
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Status: Message: Response status code does not indicate success:
| 500 (). ErrorMessage: { "errorMessage": "Exception caught when
| database details retrieval with error [Invalid request, both
| instance and database ID is required for this API.].",
| "errorCode": 101 } RecommendedAction:

From this error it seems the Powershell command does not provide enough parameters to satisfy the API call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions