OSDeploy / OSD

OSD Shared Functions
MIT License
132 stars 54 forks source link

Question: ZTI Link #67

Open ymestechwey opened 1 year ago

ymestechwey commented 1 year ago

Hello,

I have configured multiple usb sticks with the ZTI function, but we have changed the cloud location of the powershell script. Is there a way i can change this on the usb sticks instead of editing the workspace and reinstall the usb sticks?

-WebPSScript http://some-online-cloud-storage.com/Win10-Enterprise-21H2-DA-DK.ps1

OSDeploy commented 1 year ago

Sorry for the delay, no the URL is embedded in WinPE. You will need to run Edit-OSDCloudWinPE and change the URL that way.

Also keep in mind the point is to use a URL that doesn't change. Maybe instead of hardcoding a file name that will certainly change, use a GUID. e.g. -WebPSScript http://some-online-cloud-storage.com/664b4ddd-4693-4108-b10c-c99b67286693.ps1