With the following powershell script it is possible to "integrate" the rollback feature in the SCCM admin console:
[Parameter(Mandatory=$True)]
[string]$HotFixID
)
# Get the specified hotfix
$hotfix = Get-HotFix -Id $HotFixID -ErrorAction SilentlyContinue
# Uninstall hotfix if found
if($hotfix) {
$HotFixNum= $HotfixID.Replace("KB","")
wusa.exe /uninstall /KB:$HotFixNum /quiet /norestart
# Wait for uninstall to finish
Do {
Start-Sleep -Seconds 3
} while(Get-Process -Name "wusa" -ErrorAction SilentlyContinue)
# Check if hotfix uninstalled
$hotfix = Get-HotFix -Id $HotFixID -ErrorAction SilentlyContinue
if($hotfix) {
Write-Output "Failed"
}
else {
Write-Output "Succeeded"
}
}
else {
Write-Output "Not found"
}