Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Complete Options for Start-OSDCloud with ZTI parameter #143

Closed
sys-adm90 opened this issue May 21, 2024 · 1 comment
Closed

Setup Complete Options for Start-OSDCloud with ZTI parameter #143

sys-adm90 opened this issue May 21, 2024 · 1 comment

Comments

@sys-adm90
Copy link

It would be great to have the Setup Complete Options also available with the command line ,,Start-OSDCloud'' to use this for a ZTI solution. There is a -firmware parameter but nothing for setup complete or Windows Update.
image

@gwblok
Copy link
Collaborator

gwblok commented May 22, 2024

These are available via variables.
You can see how I'm doing it in my automated Win11 Build Script:
https://github.com/gwblok/garytown/blob/master/Dev/CloudScripts/win11.ps1

$OSName = 'Windows 11 23H2 x64'
$OSEdition = 'Pro'
$OSActivation = 'Retail'
$OSLanguage = 'en-us'

#Set OSDCloud Vars
$Global:MyOSDCloud = [ordered]@{
    Restart = [bool]$False
    RecoveryPartition = [bool]$true
    OEMActivation = [bool]$True
    WindowsUpdate = [bool]$true
    WindowsUpdateDrivers = [bool]$true
    WindowsDefenderUpdate = [bool]$true
    SetTimeZone = [bool]$true
    ClearDiskConfirm = [bool]$False
    ShutdownSetupComplete = [bool]$false
    SyncMSUpCatDriverUSB = [bool]$true
    CheckSHA1 = [bool]$true
}

Start-OSDCloud -OSName $OSName -OSEdition $OSEdition -OSActivation $OSActivation -OSLanguage $OSLanguage

@gwblok gwblok closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants