Tag Archives: Powershell

Retrieving contents of Hosts file using PowerShell

I decided that I wanted a way to view all of the hosts file on a bunch of servers and see just what is listed.  Most of the code is fairly straight-forward where I use Test-Connection and Test-Path to validate … Continue reading

Posted in powershell, scripts | Tagged , , | 6 Comments

Quick-Hits: List 25 newest scripts in Microsoft Script Repository

This is a just a quick script to query the rss feed of the Microsoft Script Repository for the newest 25 scripts that have been uploaded.  Just 4 lines of code to get this accomplished, which is yet another reason … Continue reading

Posted in powershell, scripts | Tagged , , , | Leave a comment

Find pending updates on local or remote computers

This is more of an upgrade to a vbscript I found to run on all of our servers at work. Originally I used the vbscript along with PSExec to remotely run the file on each remote machine which would then … Continue reading

Posted in powershell, scripts, WSUS | Tagged , , | 27 Comments

Retrieve SQL Database and Transaction Log File Sizes using Get-Counter

This is a nice little script that I used to find the size of all of the SQL server database (MDF) and Transaction Log (LDF) files on each SQL server that we have. This stems from a task I had … Continue reading

Posted in powershell, scripts | Tagged , , | 3 Comments

Microsoft Community Contributor Award | 2011

On Friday afternoon I was checking my email when I came across an email from support@microsoftcommunitycontributor.com saying that I was being awarded for my contributions to the Microsoft community. Dear Boe, Congratulations! We’re pleased to inform you that your contributions … Continue reading

Posted in News, powershell | Tagged , , , | 3 Comments