Open timrenshaw opened 5 years ago
Hi I am facing a similar error while using ConvertTo-Dockerfile cmdlet from image2docker module. I am using an exported VM image file (filename.vhdx.DISM.vhdx) to create docker file.
VERBOSE: Starting conversion process VERBOSE: Started discovering IIS artifact VERBOSE: Checking IIS ApplicationHost config for Windows Version: 6.3 Select-Object : Property "add" cannot be found. At C:\Program Files\WindowsPowerShell\Modules\Image2Docker\1.8.5\Functions\Private\Artifacts\IIS\GetManifestFromApplicationHost.ps1:94 char:103
- ... elect-Object -ExpandProperty Node | Select-Object -ExpandProperty add
+ CategoryInfo : InvalidArgument: (handlers:PSObject) [Select-Object], PSArgumentException + FullyQualifiedErrorId : ExpandPropertyNotFound,Microsoft.PowerShell.Commands.SelectObjectCommand
Select-Object : Property "add" cannot be found. At C:\Program Files\WindowsPowerShell\Modules\Image2Docker\1.8.5\Functions\Private\Artifacts\IIS\GetManifestFromApplicationHost.ps1:94 char:103
- ... elect-Object -ExpandProperty Node | Select-Object -ExpandProperty add
+ CategoryInfo : InvalidArgument: (handlers:PSObject) [Select-Object], PSArgumentException + FullyQualifiedErrorId : ExpandPropertyNotFound,Microsoft.PowerShell.Commands.SelectObjectCommand
VERBOSE: Target Image Version 6.3.9600.17246 VERBOSE: IIS service is present on the system VERBOSE: ASP.NET is present on the system VERBOSE: .NET 3.5 is present on the system VERBOSE: Finished discovering IIS artifact
Hello, I have not posted many times sorry if I am forgetting something: Win10 PC Docker v.18.09.02 The image2docker module has been installed. No errors copying the .vhd file from the original VM.
I am running the cmdlet: ConvertTo-Dockerfile d-ImagePath C:\Template-Win2012DC.vhd -Artifact IIS -OutputPath c:\i2d2\iis2 -Verbose
I am getting this error below after the file has been mounted. I am the admin of the machine, I did remove the antivirus/firewalls (to check), and no user groups.
Any help would be greatly appreciated. Thank you! .....................................................
Select-Object : Property "add" cannot be found. At C:\Program Files\WindowsPowerShell\Modules\Image2Docker\1.8.5\Functions\Private\Artifacts\IIS\GetManifestFromApplica tionHost.ps1:96 char:103