Comments (3)
I did this by using a WebPSScript hosted somewhere (internally for us) that then starts OSDCloud with -ImageFileUrl.
Set up the iso or usb drive with:
Edit-OSDCloudWinPE -CloudDriver IntelNet -WebPSScript http://domain.com/webpsscript.ps1 -Wallpaper "C:\PATH TO A WALLPAPER JPEG.jpg"
And then the webpsscript that is called is just:
Install-Module OSD -Force
Import-Module OSD -Force
Start-OSDCloud -ImageFileUrl http://your.domain.com/webpsscript.ps1 -ZTI
wpeutil reboot
from osd.
You can't set $Global:StartOSDCloud as this is reset every time you run Start-OSDCloud
You can populate $Global:StartOSDCloudGUI and those will get merged
I'd suggest you set $Global:MyOSDCloud and run that against Invoke-OSDCloud. In this method you will not use Start-OSDCloud
Keep in mind that Start-OSDCloud and Start-OSDCloudGUI are just frontends to Invoke-OSDCloud, so if those frontends do not do what you want it to do, you can always create your own. If you are set on using Start-OSDCloud then I believe you need to set these Global Variables
$Global:MyOSDCloud.ImageFileFullName = 'Z:\OSDCloud\OS\install.wim'
$Global:MyOSDCloud.ImageFileItem = Get-Item 'Z:\OSDCloud\OS\install.wim'
$Global:MyOSDCloud.ImageFileName = 'install.wim'
from osd.
Closing out old Issue. If you have any questions, please create a new one.
from osd.
Related Issues (20)
- Using -FindImageFile with an .esd and -ZTI HOT 15
- FileKBNumber for Windows 10 21H2 and 22H2 Servicing Stack Updates?
- Getting: PS>TerminatingError(): "System error." in setupcomplete.ps1 HOT 1
- Unable to install fr-CA images HOT 11
- OSD 24.2.20.1 WinPE ExecutionPolicy = Restricted HOT 2
- Custom URL for custom WIM files with OSDCloudGUI (online method) HOT 4
- OSDCloud drops during stage of downloading drivers from MS Update Catalog while in WinPE HOT 10
- Add-WindowsPackage failed Issue HOT 4
- Connect-OSDCloudAzure.ps1 HOT 1
- HP BIOS failing to Update using CMSL HOT 13
- Unable to add HP drivers into the WinPE HOT 4
- Unable to download driver from Microsoft Update Catalog HOT 9
- Missing latest Surface Models HOT 2
- WirelessConnect - Object is not set to an instance of an object. HOT 1
- DevGui - combobox for Edition is not working properly HOT 4
- Add method to update Store Apps automatically on first logon HOT 1
- Block-NoInternet function is providing false results HOT 4
- Lenovo failing to boot after driver installation HOT 1
- Link broken HOT 1
- Windows 11 23H2 Get-WindowsImage: The data is invalid HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osd.