This still solved my issue on Windows Server 2019 applying a mapping via GPO.
Hours of testing and configs. A simple trailing slash breaks mappings.
Thanks.
]]>Up to this post,
What file are you using to deploy DWG Trueview on Intune correctly ?
Does not work for me with the DWGTrueview_2023_English_64bit_dlm.intunewin
Thank you
]]>[reflection.assembly]::LoadWithPartialName(“Microsoft.UpdateServices.Administration”) | Out-Null
# Run From LocalHost
$updateServer = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer()
$updateServer.GetUpdates() | ForEach-Object {
if (($_.IsSuperseded -eq $true) -and ($_.IsApproved -eq $true)) {
if ($_.IsDeclined -eq $false) {
$_.Decline()
$title = $_.Title
Write-Host “Declining update: $title”
}
}
}
$cleanupManager = $updateServer.GetCleanupManager()
$scope = New-Object “Microsoft.UpdateServices.Administration.CleanupScope”
$scope.CleanupUnneededContentFiles = $true
$result = $cleanupManager.PerformCleanup($scope)
$space = $result.DiskSpaceFreed
Write-Host “Freed $space bytes.”
]]>Thanks, Sean
]]>