Category Archives: Windows 7

Friday the 13 Script Blocks

In celebration of Friday the 13th and to help ward off any triskaidekaphobia I thought I’d offer up 13 PowerShell scriptblocks. These are scriptblocks that might solve a legitimate business need like finding how long a server has been running … Continue reading

Posted in PowerShell v2.0, Scripting, WMI, Windows 7, Windows Server | Tagged , , , , , , | 2 Comments

Windows Update Module

I don’t have a large environment to manage, but I do have a number of test boxes I try to keep up date using Windows Software Update Server (WSUS). Occasionally I’ve needed to manage things client-side. Unfortunately, there aren’t a … Continue reading

Posted in PowerShell v2.0, Scripting, Windows 7, Windows Server | Tagged , , , , , | 3 Comments

Get Your TCP Ports Here!

Once again, the PowerShell forum at ScriptingAnswers.com has undone me. I was answering a question about running Netstat in a PowerShell session on a remote computer which got me thinking about a PowerShell function to turn NETSTAT.EXE output into objects. … Continue reading

Posted in CommandLine, PowerShell v2.0, Windows 7, Windows Server | Tagged , , , , | 2 Comments