Updates are special programs that update other software on your computer. Keeping your software up to date is critical for maintaining the security of your computer.


Updating Windows Deployment Services Images From WSUS

Sometimes you’ll run into a situation where two pieces of Microsoft software don’t play well together, or in a way that would be convenient from the user’s perspective.  Such is the case with Windows Deployment Services and Windows Server Update Services.  One piece of technology stores and deploys operating system images.  The other piece of technology updates Windows operating systems.  It seems like there ought to be some glue that brings the two together because, otherwise, you need to deploy the OS image, update it manually, then recreate it.

The bad news is, no such glue exists out of the box. The good news is, it’s not difficult to create it with PowerShell (provided WDS is running on Server 2012).  Below is my project, hosted on GitHub. It’s a single, short PowerShell script which, when run on a Server 2012 WDS server, will cycle through all of your Install Images and update them using your WSUS Repository from the WsusContent share. All you need to do is run the script from the WDS server. It will ask for a scratch location where it can extract the WIM images from Windows Deployment Services, and the location of your WSUS Repository.  I recommend running it over a weekend, because, depending on the number of images stored in WDS and the number of updates in WSUS, it can take a day or longer.

The script requires interactive input, but with just a little modification you can easily hard-code the information it needs about your environment, and run it as a scheduled task on your WDS Server.

A WordPress Update is Available

Why You Should Wait Before Updating WordPress

A WordPress Update is Available

The Dashboard lets you know when a WordPress update is available.

Have you ever heard people who upgrade to the latest version of Windows complain about the experience?

When you upgrade to a new operating system there’s a good chance that the update will contain flaws that need to be addressed by hotfixes and service packs, your hardware manufacturer may not have compatible drivers yet, and certain applications just won’t work.

WordPress isn’t so different. When you update WordPress you can run into incompatibilities in plug-ins, themes, and even your own customizations. WordPress updates are usually trouble-free and will only break very complex or poorly maintained sites. But problems can and do occur, so I recommend holding off a few weeks before updating WordPress sites.

Unless an update contains a fix for a known security vulnerability, let early adopters work out the kinks first before updating your blog.

Don’t rush into an update unless you really need it. You can find out just how critical an update is by checking the WordPress Development Blog widget on your WordPress Dashboard or by clicking the Current WordPress Version link at the WordPress Codex . WordPress has a lively community and you can usually expect plugin compatibility to be tested within a few weeks or months of a WordPress update being released.



Merge WSUS Updates Into a WIM Image Using PowerShell 3.0

# The path to the WIM Image file $imagePath = "C:\\users\\administrator\\desktop\\windows7.wim" # The path to the root of your WSUS Content $wsusContent = "C:\\WSUS\WsusContent" # The index in the WIM file to the OS image you want to mount. $imageIndex = 1 # The directory where you want to mount the WIM Image $mountPath = "C:\\Mount" # Mount the WIM Image to the mount point specified, Mount-WindowsImage -ImagePath $imagePath -Index $imageIndex -Path $mountPath -Optimize # Get a list of all subdirectories under WsusContent $paths = Get-ChildItem $wsusContent -Directory # Iterate through each WsusContent subdirectory and attempt to add all # Windows Packages found there. foreach( $item in $paths ) { Add-WindowsPackage -Path $mountPath -PackagePath $wsusContent\$item -IgnoreCheck } # Save and dismount the Windows image. Dismount-WindowsImage -Path $mountPath -Save