Add headless macOS CLI workflow
This commit is contained in:
@@ -105,9 +105,12 @@ function Invoke-InitializeModule
|
||||
Write-Log "Microsoft Intune PowerShell is being decomissioned. Please change to a supported app eg Microsoft Graph or a custom app!" 2
|
||||
}
|
||||
|
||||
$viewPanel = Get-XamlObject ($global:AppRootFolder + "\Xaml\EndpointManagerPanel.xaml") -AddVariables
|
||||
|
||||
Set-EMViewPanel $viewPanel
|
||||
$viewPanel = $null
|
||||
if($global:hideUI -ne $true)
|
||||
{
|
||||
$viewPanel = Get-XamlObject (Join-Path $global:AppRootFolder "Xaml/EndpointManagerPanel.xaml") -AddVariables
|
||||
Set-EMViewPanel $viewPanel
|
||||
}
|
||||
|
||||
#Add menu group and items
|
||||
$global:EMViewObject = (New-Object PSObject -Property @{
|
||||
@@ -4417,4 +4420,4 @@ function Start-PreImportCommandAuthenticationContext
|
||||
#endregion
|
||||
|
||||
|
||||
Export-ModuleMember -alias * -function *
|
||||
Export-ModuleMember -alias * -function *
|
||||
|
||||
Reference in New Issue
Block a user