Public/Start-OSDCloudGUI.ps1
function Start-OSDCloudGUI { <# .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.StartOSDCloudGUI.Brand, #Color for the OSDCloudGUI Brand [Alias('BrandingColor')] [System.String]$Color = $Global:OSDModuleResource.StartOSDCloudGUI.Color ) #================================================ # Branding #================================================ $Global:OSDCloudGuiBranding = @{ Title = $Brand Color = $Color } #================================================ & "$($MyInvocation.MyCommand.Module.ModuleBase)\Projects\OSDCloudGUI\MainWindow.ps1" Start-Sleep -Seconds 2 #================================================ } |