search
top

Updating gnuwin32 tools on Windows with GetGnuWin32

Introduction Gnuwin32 provides ports of tools with a GNU or similar open source license, to modern MS-Windows (Microsoft Windows 2000 / XP / 2003 / Vista / 2008 / 7). We have covered install Gnuwin32 on Windows in a previous post, but how do you update it? That’s where GetGnuWin32 comes into play. Process First we need to download GetGnuWin32 from... read more

Using PowerShell to Failover Cluster Resources for Patching

Introduction So you are having to patch cluster nodes and would like a way to automate the failover of the resources and log what when it was done and who did the work. In this post we will cover a simple PowerShell script that will drain, pull and balance resources in a 2 or more node active / passive or active / active cluster. About the Script The purpose of the PowerShell script is to allow three... read more

How To View Listening UDP Ports on Windows

Introduction From time to time we need to view “UDP” ports that are in a listening state on Windows. In this short post we will see how to do this with the netstat command. Process The process to view the UDP ports in listening state is simple. Open a command prompt and type, netstat -an | find “UDP” | more: C:\>netstat -an | find "UDP" | more UDP 0.0.0.0:982 *:* UDP... read more

How to create a StartMenu link on the Desktop with PowerShell

Introduction With the interface changes to Windows 8 and above we see the ease of adding shortcuts by dragging or right clicking on the StartMenu links and sending to the desktop diminished,  but with PowerShell we can easily automate creating links to folders and applications. In this post we will see just how easy it is to create these  links. Code The code is simple, we will need to create a... read more

How To Use PowerShell to Retrieve User Account MemberShip data and Export to CSV

Introduction Recently had a request to retrieve specific information out of Active Directory and save the results to a CSV file for our auditors. The data to retrieve for the user is Name,Enabled,Created and MemberOf. The catch was to remove the CN and OU from the memberof output from PowerShell. In this post we will cover just how to accomplish that. Process The goal was to use PowerShell to retrieve the... read more

« Previous Entries Next Entries »

top