Previous version had the nice function Write-W2VInfo to output to screen (as well as log).
Current version has loging broken
It writes:
Windows PowerShell transcript start
Start time: 20220122091030
Username: SP-P-MEDIA\Administrator
RunAs User: SP-P-MEDIA\Administrator
Machine: SP-P-MEDIA (Microsoft Windows NT 6.3.9600.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 136
PSVersion: 5.0.10586.117
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0.10586.117
BuildVersion: 10.0.10586.117
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
**********************
Windows PowerShell transcript end
End time: 20220122092255
**********************
While previous version would give nicely all info: (in log and also on screen)
**********************
Windows PowerShell transcript start
Start time: 20220122084853
Username: SP-P-MEDIA\Administrator
RunAs User: SP-P-MEDIA\Administrator
Machine: SP-P-MEDIA (Microsoft Windows NT 6.3.9600.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 8208
PSVersion: 5.0.10586.117
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0.10586.117
BuildVersion: 10.0.10586.117
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
INFO : Looking for the requested Windows image in the WIM file
INFO : Image 2 selected (ServerStandard)...
INFO : Creating VHD disk...
INFO : Attaching VHDX...
INFO : Initializing disk...
INFO : Creating EFI system partition (ESP)...
INFO : Formatting ESP...
INFO : Creating MSR partition...
INFO : Creating windows partition...
INFO : Formatting windows volume...
INFO : Windows path (H:) has been assigned.
INFO : Windows path (H:) took 1 attempts to be assigned.
INFO : System volume location: G:
INFO : Applying image to VHDX. This could take a while...
INFO : Image was applied successfully.
INFO : Making image bootable...
INFO : Drive is bootable. Cleaning up...
INFO : Closing VHDX...
INFO : Closing Windows image...
INFO : Done.
**********************
Windows PowerShell transcript end
End time: 20220122090123
**********************
Previous version had the nice function Write-W2VInfo to output to screen (as well as log).
Current version has loging broken
It writes:
While previous version would give nicely all info: (in log and also on screen)