Hi Michal, First, many thanks for this library, it works like a charm :) Just a detail, not really a problem : the "Unblock-File" commandlet is not supported in Powershell 2.0 (used in ly enrivonment) Is this library still working with Powershell 2.0 ? Or do we need to upgrade for future versions ? Thanks again and kind regards, Romain
Hi Michal, First of all, thanks for creating this module, good job! It makes live so much easier. I have been using this to update our 150+ servers for some months now. However, lately I noticed that the module is not fully functioning anymore. I ran the command 'get-wuinstall -ignoreuserinpu
t -acceptall' and this doesn't return any updates but the windows update panel shows 13 important updates & 8 optional updates. Could this be due to a change in the WindowsUpdate Agent? Kind regards, Bart
Hi Michal, The updates showing in Windows Update are not valid. The updates were already installed by the PSWindowsUpdate module but probably some list doesn't get cleared. As soon as I hit the "Install now" button in Windows Update the updates were miraculously installed in a flash. Thanks anyway Kind regards, Bart
Then going into an endless loop. We run it as Get-wuinstall -ignoreuserinpu
t -verbose -acceptall -autoreboot Adding -windowsUpdate in fornt works just fine, however we want it to get tested updates from our SCCM servrer
i would like to suggest that the get-wuinstall and invoke-wuinstal
l be combined. so add a parameter of -compuername and with that i will do what the invoke-wuinstal l would normally do and take all of the inputs of get-wuinstall like -acceptall and such and adds it to the remote invoke command. also would like some kind of status of the remote install of patches. not a status of what the current install is doing but a status of what one it is currently on and which one has completed so completed 1 of 8; completed 3 of 8. i guess that you could read the file to see if has been completed and then delete the file afterwards. great module love it
> not a status of what the current install is doing but a status of what one it is currently on and which one has completed so completed This is very challenging to do. Right now you cannot perform updates to a system remotely because of how the permissions are designed in the Windows Update service. The `invoke-wuinsta
ll` script gets around this by running the install as a scheduled tasks. But once you run something as a scheduled task there isn't a great way to get the interactive output of that scheduled task back to the user. AFAIK the only thing you can do is have update your `invoke-wuinsta ll` to create logs, and then look at logs.
Just making a bug / feature request for future versions... Get-WUInstall.p
s1 Add - a remote computer support option. As of v1.51 there is no support for specifying a remote computer to run service / updates. Get-WUList.ps1 Fix - Specifying a remote computer name does support detection of services, only on local computer.
You must use `Invoke-WUInsta
ll` to install updates on remote computers. This basically creates a scheduled task to perform the update. I believe it has to be this way for now because of some permission issues in the Windows Update service.
We need to extract updates by list (array of KB)from WSUS to the different folder Something like this: blogs.msmvps.co
m/athif/2006/05 /09/batch-scrip t-to-extract-up dates-from-wsus -content-folder -by-alexander-s uhovey/ but working on Windows Server 2012r2
I wrote a script for this issue https://gallery
.technet.micros oft.com/scriptc enter/Copy-Wsus UpdateToFolder- 3425fde0 MBSA - create report Script copy files from report to directory
We'd like to automate the Windows Update installation on our servers. Most of the servers are running Windows Server 2012 R2. There are a few specific Windows updates that we don't want to be installed however, so the idea is to hide them by title. I can't get this to work on Windows Server 2012 R2. The Hide-WUUpdate –Title function simply doesn't hide the updates. I have tested the same function on Windows Server 2008 R2 and Windows 8.1, that works fine. Is there a way to hide the updates by title on Windows Server 2012 R2? Any help on this problem would be greatly appreciated!
Is there a way to do this? I can throw the -Confirm switch at it but the uninstall process still brings up a GUI window to confirm the uninstall of specific KBs.
I'm Trying to create a scenario that turns on a computer at 3am. Then i have the computer runs a scheduled task that runs the PSWindowsUpdate on the local computer. This then downloads all available updates from wsus server, installs them and restarts the computer if necessary. My questions is can this be don, no user is logon on to the local computer. What i'm doing now is via pdq deploy i wake on lan the computer a 2.50 am then i have create a scheduled task via gpo that runs a ps script. Executionpolicy is set to remotesigned. Import-Module \\fkipdc01\NETL
OGON\PSWindowsU pdate\PSWindows Update\PSWindow sUpdate.psm1; Get-WUinstall -IgnoreUserInpu t -acceptALL -AutoReboot. The scheduled task Works fine but the problem is that the computer dos not install and restart There is many updates available, the test computer is from a image where there is 40 updates available. After 1 hour i log on to the computer i can se that the computer has downloaded the updates and is prompting my for restart, to installe updates. How can i get it to work so i can get ps update to run even if no user is log on. Scheduled task is set to run even if no user is log on. If i can get this to work i will be deployed to 150 computers.
I have to import this module every time I want to use it after a reboot. Any way to make it stick permanently?
I extracted to system folder and all is well now. Not sure why the ipmo command was not sticking after reboot though