Skip to content

Converting Wim to VHD  #5

@Louis1962

Description

@Louis1962

I had to add the variable $SourceFile = $CaptureFolder + ""+ $ImageName + ".wim" to the ImagefactoryV3-CoverttoVHD.ps1 to get the powershell to work.

New-Item -Path $VHDxFolder -ItemType Directory -Force

$wims = Get-ChildItem -Path $CaptureFolder -Filter *.wim
foreach($wim in $wims){

$SourceFile = $CaptureFolder + "" + $ImageName + ".wim"
write-host image: $SourceFile
$WindowsImage = Get-WindowsImage -ImagePath $wim.FullName

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions