Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

If install-ContainerImage is interrupted, retrying will fail. #5

Description

@Nibons

If install-containerImage is interrupted after the download has completed, but before the 'expanding' has completed, the only method I found to complete the operation successfully was to rename the directory at C:\ProgramData\Microsoft\Windows\Images[ImageName] to something else.

Could not remove the directory, and the image would not show up in get-containerImage.

I suggest a -force parameter, that will overwrite a previously existing ContainerImage(if corrupted), and a -whatif parameter to see what image(s) would be added.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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