Write-Host -ForegroundColor Cyan "Starting SeguraOSD's Custom OSDCloud ..."
#Change Display Resolution for Virtual Machine
if ((Get-MyComputerModel) -match 'Virtual') {
Write-Host -ForegroundColor Cyan "Setting Display Resolution to 1600x"
#Make sure I have the latest OSD Content
Write-Host -ForegroundColor Cyan "Updating the awesome OSD PowerShell Module"
Install-Module OSD -Force
Write-Host -ForegroundColor Cyan "Importing the sweet OSD PowerShell Module"
#TODO: Spend the time to write a function to do this and put it here
Write-Host -ForegroundColor Cyan "Ejecting ISO"
Write-Warning "That didn't work because I haven't coded it yet!"
#Start OSDCloud ZTI the RIGHT way
Write-Host -ForegroundColor Cyan "Start OSDCloud with MY Parameters"
Start-OSDCloud -OSLanguage en-us -OSBuild 20H2 -OSEdition Enterprise -ZTI
#Anything I want can go right here and I can change it at any time since it is in the Cloud!!!!!
Write-Host -ForegroundColor Cyan "Starting OSDCloud PostAction ..."
Write-Warning "I'm not sure of what to put here yet"
Write-Host -ForegroundColor Cyan "Restarting in 20 seconds!"