Giter Club home page Giter Club logo

Comments (3)

Banthaf0dder avatar Banthaf0dder commented on July 29, 2024 1

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.

OSDeploy avatar OSDeploy commented on July 29, 2024

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.

gwblok avatar gwblok commented on July 29, 2024

Closing out old Issue. If you have any questions, please create a new one.

from osd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.