Public/Start-OSDCloudGUIDev.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
function Start-OSDCloudGUIDev { <# .SYNOPSIS OSDCloud imaging using the command line .DESCRIPTION OSDCloud imaging using the command line .EXAMPLE Start-OSDCloudGUI .LINK https://github.com/OSDeploy/OSD/tree/master/Docs #> [CmdletBinding()] param ( #The custom Brand for OSDCloudGUI [Alias('BrandingTitle')] [System.String]$Brand = $Global:OSDModuleResource.StartOSDCloudGUIDev.Brand, #Color for the OSDCloudGUI Brand [Alias('BrandingColor')] [System.String]$Color = $Global:OSDModuleResource.StartOSDCloudGUIDev.Color ) #================================================ # Branding #================================================ $Global:OSDCloudGuiBranding = @{ Title = $Brand Color = $Color } #================================================ & "$($MyInvocation.MyCommand.Module.ModuleBase)\Projects\OSDCloudDev\MainWindow.ps1" Start-Sleep -Seconds 2 #================================================ } |