Books

Translate This Blog
-
Recent Posts
Top Posts
- Querying UDP Ports with PowerShell
- Changing Ownership of File or Folder Using PowerShell
- Speedy Network Information Query Using PowerShell
- Using PowerShell Parameter Validation to Make Your Day Easier
- Use PowerShell to remove local profiles
- Setting up Local Administrator Password Solution (LAPS)
- Locating Mount Points Using PowerShell
- Retrieving a Registry Key LastWriteTime Using PowerShell
- Using PowerShell to Query Web Site Information
- Avoiding System.Object[] (or Similar Output) when using Export-Csv
Archives
Categories
- .net
- api
- array
- background jobs
- binary
- book
- c#
- clock
- codeplex
- com object
- convert
- CTP
- database
- deep dive
- excel
- Favorites
- function
- groups
- guest blog
- hash table
- Internet Explorer
- ise
- mcpmag
- module
- MVP
- network
- news
- parameter
- patches
- performance
- pinvoke
- podcast
- port
- PoshChat
- poshpaig
- PoshRSJob
- poshwsus
- powercli
- powerscripting
- Powershell
- printers
- quickhits
- reflection
- regex
- registry
- Regular Expressions
- report
- resolution
- runspace
- runspaces
- scripting games 2012
- scripting games 2013
- scripting guy
- scripts
- SMO
- Speaker
- speaking
- SQL
- tcp
- tips
- tsql
- updates
- user group
- V3
- V4
- v5
- weather
- widget
- win32API
- winter scriting games 2014
- wmi
- word
- WPF
- wsus
- xaml
Category Archives: scripts
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
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 array, hash table, logs, Powershell, regex, Regular Expressions
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
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
Retrieving Weather Information From A Web Service Provider
I noticed on my twitter feed about a PowerTip from powershell.com that showed you how to retrieve the weather information from a given web service. This is a pretty cool 3 lines of code that used the New-WebServiceProxy cmdlet that … Continue reading