OSD
OSD copied to clipboard
System PowerShell, not PowerShell 7
Unfortunatly I wasted a few hours not realising that the new PowerShell doesn't run the scripts correctly but still run to completion. Can I suggest an early exit, or a message in the documentation that the new PowerShell is not supported yet, to remind users like me?
steps to reproduce: open terminal app with PowerShell 7.5.1
Install-Module OSD -Force
New-OSDCloudTemplate -Language en-gb -SetInputLocale en-US -SetAllIntl en-au -Verbose
New-OSDCloudWorkspace
New-OSDCloudUSB
Edit-OSDCloudwinPE -CloudDriver *
Update-OSDCloudUSB -OSName 'Windows 11 24H2' -OSLanguage en-gb -OSActivation Retail
Hey @ADVSebastian, what wasn't working around this setup? Did the WinPE not boot? Did it boot but not execute properly?
PS7 isn't necessarily 'supported' but I haven't had issues.