Question

The remote server returned an error: (500) Internal Server Error.

  • 12 October 2023
  • 1 reply
  • 21 views

Badge +4

got erro when i ran the next script from Commvault site

 

PS C:\>$requestbody = @'{

"destinationClient": {

"clientName": "testvsvc1.testlab.commvault.com_v2"

},

"destinationInfo": [

{

"vmware": {

"esxHost": "172.24.42.9",

"newName": "va-dummyVM2_DND",

"dataStore": "HDD_AutoDatastore",

"resourcePool": "/"

}

}

]

} '@ | ConvertFrom-Json

Restore-CVVirtualMachine -Name va-dummyVM2_DND2 -outofPlace -Requestbody $requestbody -OverwriteExisting

1 reply

Userlevel 7
Badge +23

check webserver.log on the CommServe or webserver machine for more detailed info.

 

Assuming you updated the request body with all your own information?

Reply