[wpkg-users] Powershell and windows update...
Marco Gaiarin
gaio at lilliput.linux.it
Thu Jul 13 13:01:36 CEST 2023
I need to uninstall KB5028166, via WPKG. I've found thati need to install
'WU powershell addon/modules', via:
Install-PackageProvider -Name NuGet -Force
Install-Module -Name PSWindowsUpdate -Force
Set-ExecutionPolicy RemoteSigned -Force
Import-Module PSWindowsUpdate
there's some example on powershell module import? how i can write check
conditions?
Then i need to uninstall the KB; but seems that nor:
wusa /uninstall /kb:5028166 /quiet /norestart
nether:
Remove-WindowsUpdate -KBArticleID KB5028166 -IgnoreReboot -Confirm:$false
works. Only:
wusa /uninstall /kb:5028166
work, clearly non in silent mode.
If someone have some clue, thanks.
--
Risulterebbe che i due ladroni crocefissi accanto al Signore fossero
socialisti: infatti erano ladri e occupavano due posti su tre.
(Anonimo)
More information about the wpkg-users
mailing list