Options

Error message when running PowerShell Script

BobFBobF Posts: 23 Bronze 1
I am trying to run the following PowerShell comands 

PS C:\Users\AUser> Connect-SqlClone -ServerUrl 'http://SQLCloneURL/'
$Image = Get-SqlCloneImage -Name 'Test_Image'

The error message I get is this -:

Get-SqlCloneImage : Cannot create and populate list type System.Collections.Generic.IReadOnlyCollection`1[System.String]. Path 'value.sourceLocationResourceNames', line 1, position 113.
At line:2 char:10
+ $Image = Get-SqlCloneImage -Name 'Test_Image'
+          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-SqlCloneImage], JsonSerializationException
    + FullyQualifiedErrorId : RedGate.SqlClone.PowerShell.Commands.GetSqlCloneImageCommand

What is causing the issue?
Tagged:

Answers

Sign In or Register to comment.