Author Archives: Boe Prox

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

Creating a Report of Log File Data using Regular Expressions, Arrays and Hash Table

As I was checking my email early in the morning, I saw an email from co-worker asking me to write a script to parse through some logs that were generated from another script that listed the date the script is … Continue reading

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

Querying UDP Ports with PowerShell

It was brought to my attention earlier in the week that my Test-Port script had a fairly big bug involving checking the UDP port to determine whether it was open or not. Initially, the function would always come back with … Continue reading

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

More Web Services with PowerShell: Geo IP Location

Now that I have been bitten by the New-WebServiceProxy bug and built the weather function in a previous blog, I decided to work on another function to grab an IP address and show the country of origin. So without re-hashing … Continue reading

Posted in powershell, scripts | Tagged , , | 1 Comment