Awards
Books
2013 Powershell Scripting Games
Translate This Blog
-
Recent Posts
Top Posts
- Quick-Hits: Find currently logged on users
- Starting,Stopping and Restarting Remote Services with PowerShell
- Using PowerShell to Query Web Site Information
- Find When a User Was Added or Removed to a Domain Group Using PowerShell and Repadmin
- Scripting Games 2013: Event 4 Notes
- WSUS Administrator Module
- Use PowerShell to remove local profiles
- PowerShell Patch Audit/Install GUI (PoshPAIG) Released
- Reversing a String Using PowerShell
- Use PowerCLI to Report Storage Paths in your ESXi Environment
Archives
Categories
Tags
.net api background jobs book chat codeplex com object deep dive excel file guest blog hash table module network news patches performance pinvoke podcast PoshChat poshpaig poshwsus powercli powerscripting Powershell printers quickhits regex Regular Expressions report runspace scripting games 2012 scripting games 2013 scripting guy scripts TechEd tips updates V3 weather win32API wmi WPF wsus xaml
Tag Archives: regex
Reversing a String Using PowerShell
So how many times do you sit at your desk thinking “How can I easily reverse this string output?”. Probably not at all. But in the case where I needed to do this while working on a future article, I … 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
Powershell, Regular Expressions And You!
“^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$” Pretty scary, isn’t it? While most of you will never have to build something this long and complex, it still is a nice idea to learn how to use Regular Expressions in your scripts when you need to look … Continue reading




