-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No output Titles on w11 23h2 build 3880 #31
Comments
I have found the same issue, it looks like it is an issue with the object that is returned. Example of working server (Windows Server 2022): Example of a new Windows 11 (built yesterday using latest Azure Windows 11 image) As you can see, it has returned a completely different object. I have tested with the latest release 2.2.1.5 and 2.2.1.4. |
There was new patch this morning when I did a manual Windows Update, after installing this and doing a reboot it fixed the issue. These are the two KBS that were installed: KB5040527 & KB5040568 |
Nice to know, thx for posting, man! |
Hello,
I'm using the great PSWindowsUpdate module for a few years. I'm using a script in the oobe phase to update the client before ESP Enrollment (autopilot)
When I use Get-WindowsUpdate in the July build 3880 the output also do not show Titles anymore.
I use the Titles in a Teams Notification when a device is installed. Below is my script. All previous W11 builds show always Titles.
#================================================
[OS] Install Software updates
#================================================$Pathsetupd) | ? {$ .trim() -ne "" } | set-content $Pathsetupd
if ($($xml.Collect.WINPE.Enable_Updates) -eq "True") {
Write-Host "$(Logstamp) Updates from Microsoft Update download " -NoNewline
Write-Host @CheckIconSquareRoot
$ProgressPreference = 'Continue'
Add-WUServiceManager -MicrosoftUpdate -Confirm:$false | Out-Null
$softwareupdates = Install-WindowsUpdate -MicrosoftUpdate -NotCategory "Drivers" -NotTitle "Preview" -AcceptAll -IgnoreReboot | Out-File "c:\OSDCloud\WindowsUpdate.log" -force
$Pathsetupd = "c:\OSDCloud\WindowsUpdate.log"
(gc
$waardesset = Get-Content $Pathsetupd| Select-String -Pattern 'Installed'
$upd3 = $waardesset -replace "(?m)^.{43}"
$resultsoftwareupdatessplit = $upd3 | foreach {$ + "
"}
$upd3 | foreach {
Write-Host "$(Logstamp) Installed $_ " -NoNewline
Write-Host @CheckIconSquareRoot
}
Write-Host "$(Logstamp) Updates from Microsoft Update installed " -NoNewline
Write-Host @CheckIconSquareRoot
}
The text was updated successfully, but these errors were encountered: