Posted On April 8, 2019

Applying Windows Patches

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Applying Windows Patches
#Example: Disabling Remote Code Execution

(new-object System.Net.WebClient).DownloadFile('https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe','C:\temp\vcredist_x64.exe')
c\:temp\vcredist_x64.exe /quiet /norestart
#Example: Download updates using BITS (cannot invoke remotely nor use ftp)

Import-Module BitsTransfer
$url = "http://download.windowsupdate.com/c/msdownload/update/software/updt/2019/01/windows10.0-kb4480977-x64_4630376d446938345665e2ce8379d96bb63a84c8.msu" #KB4480977
$output = "C:\temp\KB4480977.msu"
Start-BitsTransfer -Source $url -Destination $output
C:\temp\KB4480977.msu /quiet /norestart

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Testing NFS Between Linux Server & Windows Client

On Linux server:1. Turn of selinux/ipchains/iptables during the test. This could be turned on at…

How to Install Windows Dot Net 3.5 & 4.5

Run these commands to check dot net 3.5: PS C:\Windows\system32> import-module servermanagerPS C:\Windows\system32> get-windowsfeature web-asp-netDisplay…

Quick Command To Get Windows Version

To Get Windows Version as String: (Get-WmiObject -class Win32_OperatingSystem).Caption [deesee1]: PS C:\Users\kimconnect> (Get-WmiObject -class Win32_OperatingSystem).CaptionMicrosoft…
Other project: DragonCoin.com