Currently Browsing: Windows
Aug 8, 2017
How To Find A String in a File With PowerShell
Introduction So you have a need to have PowerShell to look for a string in a file and create and entry if it doesn’t find it and do nothing if it does. For my example I am installing an application and I need to add three lines of content, but if it exists I do not want duplicate entries created. The Code There are probably other ways to achieve the goal, but my idea was to use Get-Content and read... read more
Jun 29, 2017
Using PowerShell to Move Cluster Resources to Preferred Node on Windows Server 2008 and above
Introduction In an earlier post we covered Using PowerShell to Failover Cluster Resources for Patching, to expand on the script we are adding a third option for use on active / active clusters to move the Cluster Resources to their preferred node if it is defined. We will cover creating the move by itself and also incorporating it in the script covered in the earlier post. About the Script The purpose of... read more
Jun 20, 2017
How install Apache 2.4 PHP 7.1 and MySQL 5.7.18 on Windows Server 2016
Introduction This post is a how to guide for installing Apache, PHP and MySQL on the latest release. In this post like previous we will cover installing all the programs individually. This will cover installing 64 bit versions of the programs. Apache 2.4 Install First download Apache 2.4 from http://www.apachelounge.com/download/ (httpd-2.4.25-win64-VC14.zip) Apache 2.4.25 VC14 This release is supported... read more
Apr 4, 2017
How To Resolve PowerPath 6.1 Required KB Missing During Installation
The Issue During an upgrade to PowerPath 6.1 on Windows 2008 R2 server received an error for missing KB 2921916 and 3033929. The first one is about Schannel and is 2014 release https://technet.microsoft.com/library/security/ms14-066 The second one is a SHA-2 patch from 2015 https://technet.microsoft.com/en-us/library/security/3033929 The above KB patches are for SHA-2 related patches dating 2014... read more
Feb 23, 2017