-
Notifications
You must be signed in to change notification settings - Fork 39
Description
PSVersion 5.1.18362.752
Console
Win 10 64bit
ModuleType Version Name ExportedCommands
I updated the folders sample file "Sample_WS2016_NanoDomain.xml" as follows
labpath="H:\Hyper-V\LabBuilder\vm\NANOTEST.COM"
isopath="H:\Hyper-V\LabBuilder\ISOs"
vhdpath="H:\Hyper-V\LabBuilder\VHDs"
When I run the build, it looks somwhere else and uses some paths that I don't know why such as (and et the end I get always the error emplate Windows
Server 2016 Datacenter Full' could not be found)
VERBOSE: [13:53:28]: Mounting C:\Program Files\WindowsPowerShell\Modules\LabBuilder\1.0.5.105\Samples\ISOFiles\14393.0.161119-1705.RS1_REFRESH_SERVER_EVAL_X64FRE_EN-US.ISO to use source WIM to create
Template VHD Windows Server 2016 Datacenter Full
VERBOSE: [13:53:28]: Converting 'Windows Server 2016 SERVERDATACENTER' in 'D:\Sources\Install.WIM' to a bootable Dynamic VHDx 'C:\Program
Files\WindowsPowerShell\Modules\LabBuilder\1.0.5.105\Samples\VHDFiles\Windows Server 2016 Datacenter Full.vhdx'.VERBOSE: Temporary VHDX path is : C:\Program Files\WindowsPowerShell\Modules\LabBuilder\1.0.5.105\Samples\VHDFiles\810b1fbe-0676-4244-9fa3-d24508b0a178.vhdx
VERBOSE: [13:53:34]: Creating the 'Nano Server 2016 Datacenter' VM Template VHD 'C:\Program Files\WindowsPowerShell\Modules\LabBuilder\1.0.5.105\Samples\VHDFiles\Nano Server 2016 Datacenter.vhdx'. VERBOSE: [13:53:34]: Mounting C:\Program Files\WindowsPowerShell\Modules\LabBuilder\1.0.5.105\Samples\ISOFiles\14393.0.161119-1705.RS1_REFRESH_SERVER_EVAL_X64FRE_EN-US.ISO to use source WIM to create Template VHD Nano Server 2016 Datacenter
VERBOSE: [13:55:42]: Dismounting C:\Program Files\WindowsPowerShell\Modules\LabBuilder\1.0.5.105\Samples\ISOFiles\14393.0.161119-1705.RS1_REFRESH_SERVER_EVAL_X64FRE_EN-US.ISO used for source WIM to
create Template VHD Nano Server 2016 Datacenter
**New-LabException : The Template Source VHD 'C:\Program Files\WindowsPowerShell\Modules\LabBuilder\1.0.5.105\Samples\VHDFiles\Windows Server 2016 Datacenter Full.vhdx' in Template 'Template Windows
Server 2016 Datacenter Full' could not be found.
At C:\Program Files\WindowsPowerShell\Modules\LabBuilder\1.0.5.105\LabBuilder.psm1:9032 char:17
-
New-LabException @exceptionParameters -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidArgument: (:) [New-LabException], Exception
- FullyQualifiedErrorId : TemplateSourceVHDNotFoundError,New-LabException**