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

@Nibons

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.

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