Windows Updates through PowerShell

preview_player
Показать описание
Did you know you can install updates with using PowerShell? This is the Guide for doing that!

Рекомендации по теме
Комментарии
Автор

Thanks for the video Chris. A couple minor items
1. Noobs will need to know to enable setting execution policy. This should be sufficient to get it going. Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
2. Your OUT-FILE code will not write the computer name and date as is, this should work better
Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot | Out-File -f yyyyMMdd)_MSUpdates.log"
3. Nit picking. One should not write log files to the root of the drive. Should probably make a folder in Documents or the Desktop and log it there. I like to put the date first that way it sorts by date.

surfingsub
Автор

I've been using the pswindowsudpate module for years. It saved a bunch of issues when trying to get a build up to the most recent patch level. It's not as good as apt or yum. But it's an improvement on the way windows normally works. You may find that it won't run unless the executionpolicy is set to remotesigned. (I usually use chocolatey to install it and I need to make sure that powershell is running a minimum of version 5.1 and the executionpolicy will allow the running of that module)

fivemonkeees
Автор

I get this error and both my Windows 10 and 11 systems.

the 'get-windowsupdate' command was found in the module 'pswindowsupdate', but the module could not be loaded.

CoMmAnDrX
Автор

It seems that the publication date on the site is only set for December 16 - in two days.

Vaiyn
Автор

Wait... why is that cumulative update 128GB in size??!

orangeheartguy
Автор

Thanks for all your videos! Thank God a sane person on YouTube showing cool stuff that actually is useful with a special comical touch. I'm both Windows and Linux power user. Used to write WDM drivers for Windows XP and Vista, then the good old VxD drivers for Windows 95/98 which still worked on XP! Now I'm hardcore Linux driver/user space coder C/ C++. Love this stuff!

I'm learning a lot from your videos regarding different installers and how to configure Linux Ubuntu is my primary, Kali my home distro. Looking at some other distros a bit later. Even have the freebie Oracle cloud account.

Atticman
Автор

God I like the modern touch of your right click that meets the old way of displaying it.

I want it now !

nicthegarden
Автор

0:37 - Dec 16th 2022. Chris has somehow achieved time travel

ScorpionCar
Автор

Thanks Chris this is awesome!! I did have to add one additional prerequisite to allow scripts to run using this command: Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

eddiemartinez
Автор

yoo this is amazing! It actually finds and installs optional updates (like drivers) as well! something that was missing since I installed your debloat script - I couldn't get optional updates anymore. No I finally can with this trick! Thanks!

KAKUN_DESU
Автор

Excellent stuff... BTW your website guide link above is 404'ing ...

tim_biller
Автор

A 128GB Update? huh... Great content as always, tyvm!

bandoneon_ar
Автор

I'm not even a windows user but I love seeing the stuff you are able to do with it

ngeldus
Автор

Hi Chris
Everything works thanks, you are my hero and mentor 😊
Greetings from Belgium
Tom

DarkPsychoMind
Автор

Very informative video Chris! I also like experimenting with Windows, but unfortunately I did too much and completely broke my Windows Update service. I never knew you could manually install Updates from Powershell. Life changer! 😁

spxxdey
Автор

thank you for this, very informative and straight forward 👍👍 ... I have in my mind though if its feasible

there's an option in windows update settings that when I click the ""Pause updates for 7 days" option, right away the windows update is pause for 7 days. then you can adjust it up to 1 month i think in advanced options.. what I wanted is to automate the pausing every month, is there a powershell syntax or script that has equivalent results the way pausing in GUI? then when I have that script i can just trigger it using scheduller maybe

tonymarms
Автор

Hi Chris. Article gives a 404. Thanks for the vid!

vPeteWalker
Автор

Your Debloat Windows tool broke my windwos updates. Thanks. Now i have to painstakingly reinstall windows.

phoenixyt
Автор

Why doesn't the link to your website work?

neohydros
Автор

Can you upload for us windows10 lite for low end pc, users please chris and don't forget to remove microsoft defender either <3

HCBoss