You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From Windows 10 on, the "wuauclt /detectnow" command is no longer working and replaced by "usoclient StartScan". Could you please change the behaviour for Windows 10 clients. The metadata which version the client has, should be available from WSUS database.
The text was updated successfully, but these errors were encountered:
$Session = New-Object -Com Microsoft.Update.Session
$Searcher = $Session.CreateUpdateSearcher()
$SearchResult = $Searcher.Search("IsInstalled=0").Updates
try {
$Downloader = $Session.CreateUpdateDownloader()
$Downloader.Updates = $SearchResult
$Downloader.Download()
$Installer = $Session.CreateUpdateInstaller()
$Installer.Updates = $SearchResult
$InstallResult = $Installer.Install()
} catch {
if($_.Exception.HResult -eq -2145124330) {
Write-Host "There is either an update in progress or there is a pending reboot blocking the install."
} else {
Write-Host "There is was an error trying to install an update."
}
Continue
}
From Windows 10 on, the "wuauclt /detectnow" command is no longer working and replaced by "usoclient StartScan". Could you please change the behaviour for Windows 10 clients. The metadata which version the client has, should be available from WSUS database.
The text was updated successfully, but these errors were encountered: