How can we help you today? How can we help you today?

Get-SqlCloneImage lists images which are currently being created

When using the powershell cmd Get-SqlCloneImage it includes images that are currently being created, not ready to create clones from.
Is it possible to get a list of only the "finished" images?
Mattias_Canberger
0

Comments

3 comments

  • GrahamH
    Each image resource returned should have some properties on it. I might be remembering incorrectly, but I think you should be able to filter the list based on ImageState or CreatedDate to exclude images that haven't yet been created. Hope that helps!
    GrahamH
    0
  • Mattias_Canberger
    Hmm. ImageState doesn't work and I can't find any documenation on RedGate.SqlClone.Client.Api.Objects.ImageResource that the documentation refers to
    Mattias_Canberger
    0
  • Mattias_Canberger
    Found it. Image.State works
    Thanks Intellisense :-)
    Mattias_Canberger
    0

Add comment

Please sign in to leave a comment.