🆕
Basic Configuration
OSD 23.5.23.1+ Updated May 23, 2023
For this demo, I decided to create a new OSDCloud Workspace for testing. You can use your existing OSDCloud Workspace, but it's easier if I start clean. Here's the script that I used
1
#Set my working OSDCloud Template
2
Set-OSDCloudTemplate -Name 'WinPE KB5026372'
3
4
#Create my new OSDCloud Workspace
5
New-OSDCloudWorkspace -WorkspacePath D:\Demo\OSDCloud\Automate
6
7
#Cleanup Languages
8
$KeepTheseDirs = @('boot','efi','en-us','sources','fonts','resources')
9
Get-ChildItem "$(Get-OSDCloudWorkspace)\Media" | Where {$_.PSIsContainer} | Where {$_.Name -notin $KeepTheseDirs} | Remove-Item -Recurse -Force
10
Get-ChildItem "$(Get-OSDCloudWorkspace)\Media\Boot" | Where {$_.PSIsContainer} | Where {$_.Name -notin $KeepTheseDirs} | Remove-Item -Recurse -Force
11
Get-ChildItem "$(Get-OSDCloudWorkspace)\Media\EFI\Microsoft\Boot" | Where {$_.PSIsContainer} | Where {$_.Name -notin $KeepTheseDirs} | Remove-Item -Recurse -Force
12
13
#Build WinPE to start OSDCloudGUI automatically
14
Edit-OSDCloudWinPE -UseDefaultWallpaper -StartOSDCloudGUI

OSDCloud Automate looks for content in the following relative path by scanning all drives. It does not include C:\
<DriveLetter>:\OSDCloud\Automate
Understanding that requirement, there are two places that I can use this in my OSDCloud Workspace
#Content will be on the ISO or USB Boot Partition
#Ideal for Virtual Machine testing
$(Get-OSDCloudWorkspace)\Media\OSDCloud\Automate
#Content will be on the USB Drive
#Ideal for Physical Machine testing
$(Get-OSDCloudWorkspace)\OSDCloud\Automate

A third option would be to mount my WinPE and add an OSDCloud\Automate directory so it resolves to X:\OSDCloud\Automate. This would be ideal for WDS, but that solution isn't covered in this guide
Finally, keep in mind that if you plan on having large Provisioning Packages, your WinPE Boot Partition on a USB may not be large enough for the PPKG file. Got it?
Last modified 4mo ago