Why, What for…
There are times where it is more convenient to run windows updates via PowerShell. In fact, there are times where it is the only way to do updates, specially when the pesky service is malfunctioning
Setup
Open PowerShell as admin
(right-click on the start menu and select “Windows PowerShell (Admin)”)
or search for “PowerShell”, then right-click on it and select “Run as Administrator”Set the execution policy to Remotely Signed
(paste the following command and press Y or A to agree and press ENTER)1
Set-ExecutionPolicy RemoteSigned