scriptingmisaly

If you patch your computers with SCCM, sometimes a patch fails and the whole patching will stuck. This script could install the patches without a reboot (useful in production environment).

# Install Patch

# — Mihaly Kolozsi —- PowerShell Developer 2015

# — Natascia Heil —- Solution Architect 2015

# — Ver 0.7

# Installing failed sccm patches

<#

.SYNOPSIS

Install choosen patches on remote computers from the SCCM cache.

.DESCRIPTION

The script search for an exact windows update patch in the SCCM cache folder based on the KB article number the installs it to the mentioned server remotely, without rebooting the system.

It can patch a single computer or a list of computers (you have to prepare a txt file with a list of computers, example:

servers.txt

Machine1

Server1

Computer2

)

The script creates a log file on the remote machine.

.EXAMPLE

Install-Patch -computer Server1 -kbnumber 3234064 -Log C:ITwupdate.log

View original post 243 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Category

Uncategorized