About Me

I am certified Microsoft professional, a Microsoft MVP and an IT veteran with almost 20 years of experience, much of it spent as an IT consultant specializing in Windows server technologies. I work today as an independent author, trainer and consultant. I've co-authored or authored several books, courseware, and training videos on administrative scripting and automation. My latest book is Managing Active Directory with Windows PowerShel: TFM 2nd Ed.(SAPIEN Press 2011).
-
Please consider a donation if I've been of any help or assistance. Thank you.
Blog Sponsors
Sponsored Links
Tag Archives: Regular Expressions
Friday Fun Get Content Words
Recently I was tracking down a bug in script for a client. The problem turned out to be a simple typo. I could have easily avoided that by using Set-StrictMode, which I do now, but that’s not what this is … Continue reading
Posted in Friday Fun, PowerShell v2.0, Scripting
Tagged Get-Content, PowerShell, regex, Regular Expressions, Scripting, Select-Object
Leave a comment
Create a Master PowerShell Online Help Page
As I hope you know, PowerShell cmdlets can include links to online help. This is very handy because it is much easier to keep online help up to date. To see online help for a cmdlet use the -online parameter. … Continue reading
Posted in Miscellaneous, PowerCLI, Scripting
Tagged ConvertTo-HTML, Get-Command, Help, PowerShell, Regular Expressions, Scripting
Comments Off
PowerShell ISE Convert All Aliases
Yesterday I posted an article on how to convert a selected word to an alias or cmdlet. While I think there is still some value in this piecemeal approach. sometimes you want to make wholesale changes, such as when troubleshooting … Continue reading
Posted in PowerShell v2.0
Tagged Alias, Function, ISE, PowerShell, Regular Expressions, Scripting
2 Comments
Convert Transcript to Script
During my PowerShell scripting best practices at Techmentor last week I mentioned a function I had to convert a PowerShell transcript to a script file. Since there’s very little difference between an interactive session and a script, parsing the transcript … Continue reading
Posted in Conferences, PowerShell, Techmentor
Tagged PowerShell, regex, Regular Expressions, Scripting, Techmentor, transcript
Comments Off
PowerShell Regular Expressions by the Numbers
I’ve been working on something the last week that brought me back into sometimes frightening world of regular expressions. But as the saying goes, we only fear what we don’t understand. So a little knowledge can be a wonderful thing. … Continue reading




