Issue 367
This commit is contained in:
Mikael Karlsson
2025-10-15 09:54:33 +11:00
parent 03b27b1775
commit f1fdf5c078
7 changed files with 15 additions and 5 deletions
+9
View File
@@ -149,6 +149,15 @@ function Initialize-CloudAPIManagement
Write-Host "Using Graph Environment type: $($global:UseGCCType)" Write-Host "Using Graph Environment type: $($global:UseGCCType)"
} }
} }
elseif($secret)
{
$global:ClientSecret = $secret
}
if($certificate)
{
$global:ClientCert = $certificate
}
if($global:hideUI -ne $true) if($global:hideUI -ne $true)
{ {
+1 -1
View File
@@ -1 +1 @@
cmd /c pwsh -ex bypass -File "%~DP0Start-IntuneManagement.ps1" cmd /c pwsh -ex bypass -File "%~DP0Start-IntuneManagement.ps1" %*
+1
View File
@@ -0,0 +1 @@
cmd /c pwsh -ex bypass -File "%~DP0Start-IntuneManagement.ps1" -tenantId "<TenantID>" -appid "<AppID>" -secret "<Secret>"
+1 -1
View File
@@ -1,2 +1,2 @@
cmd /c powershell -version 5 -ex bypass -file "%~DP0Start-IntuneManagement.ps1" -ShowConsoleWindow cmd /c powershell -version 5 -ex bypass -file "%~DP0Start-IntuneManagement.ps1" -ShowConsoleWindow %*
pause pause
@@ -1,2 +1,2 @@
cmd /c pwsh -ex bypass -File "%~DP0Start-IntuneManagement.ps1" -ShowConsoleWindow cmd /c pwsh -ex bypass -File "%~DP0Start-IntuneManagement.ps1" -ShowConsoleWindow %*
pause pause
+1 -1
View File
@@ -1 +1 @@
cmd /c powershell -version 5 -ex bypass -File "%~DP0Start-IntuneManagement.ps1" -JSonSettings cmd /c powershell -version 5 -ex bypass -File "%~DP0Start-IntuneManagement.ps1" -JSonSettings %*
+1 -1
View File
@@ -1 +1 @@
cmd /c powershell -version 5 -ex bypass -File "%~DP0Start-IntuneManagement.ps1" cmd /c powershell -version 5 -ex bypass -File "%~DP0Start-IntuneManagement.ps1" %*