OSD icon indicating copy to clipboard operation
OSD copied to clipboard

Powershell module missing

Open ymestechwey opened this issue 1 year ago • 4 comments

Hello,

After creating bootable usb with the latest OSD version, it gives by booting the error "The system cannot find the file PowerShell"

I have installed a clean windows 11 version, and followed these steps: https://www.osdcloud.com/osdcloud/setup

Then used the next commands:

  • New-OSDCloudTemplate
  • New-OSDCloudWorkspace
  • Edit-OSDCloudWinPE -CloudDriver Wifi,HP,USB,IntelNet -WebPSScript https://..../OSDCloudZTI.ps1 -wallpaper "C:\Scripts\OSDCloud\Wallpaper\ls_tsc-lucht.jpg" -DriverPath 'C:\temp\WiFi-23.10.0-Driver64-Win10-Win11' -Verbose
  • New-OSDCloudUSB -WorkspacePath C:\OSDCloud\
  • Update-OSDCloudUSB -OS

I'm trying now with a older OSD powershell version, but am i doing something wrong?

Best regards,

Yme

ymestechwey avatar Jun 26 '24 09:06 ymestechwey

I have done the same steps but then with version 24.5.14.1. Now it works without issues, so seems to be a bug in 24.6.18.1

ymestechwey avatar Jun 26 '24 11:06 ymestechwey

I also am on 24.6.18.1 and cannot build a physical laptop. I'm only able to deploy the generated ISO on a HyperV VM and it works great. Upon reviewing the logs on the laptop using OSDCloud, it seems that its missing DISM commands on the USB drive after downloading the Windows ESD image (in my case Windows 11 23H2).

NBL-HEIM avatar Jun 27 '24 23:06 NBL-HEIM

@ymestechwey How were you able to test going back to v24.5.14.1? When I completely rebuilt the repository on v24.5.14.1, the ISO that was created still reaches out on the Powershell gallery to download the latest 24.6.18.1. How did you specify to only download 24.5.14.1? Is that a setting somewhere in the .json files?

NBL-HEIM avatar Jul 01 '24 16:07 NBL-HEIM

@ymestechwey How were you able to test going back to v24.5.14.1? When I completely rebuilt the repository on v24.5.14.1, the ISO that was created still reaches out on the Powershell gallery to download the latest 24.6.18.1. How did you specify to only download 24.5.14.1? Is that a setting somewhere in the .json files?

i would also like to know hehe :) i would like to disable updating osdcloud on the usbstick. and only update it when i want them to.

CCRandyM avatar Jul 05 '24 07:07 CCRandyM