Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Invoke-CMApplyDriverPackage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,12 @@ Process {
$true {
if ($ActiveMPExternalCandidatesCount -ge 1) {
$Script:AdminServiceEndpointType = "External"
##Force Internal by Variable MDMDeploymentType - this enables TS deployment after reboot with device vpn for offsite CGW OSD
$Script:DeploymentType = $TSEnvironment.Value("MDMDeploymentType")
if (-not([string]::IsNullOrEmpty($Script:DeploymentType))) {
$Script:AdminServiceEndpointType = $Script:DeploymentType
}
###
}
else {
Write-CMLogEntry -Value " - Detected as an Internet client but unable to determine External AdminService endpoint, bailing out" -Severity 3
Expand Down