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 , , , , , | 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 , , , , , | 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 , , , , , | 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 , , , , , | 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

Posted in PowerShell, Scripting | Tagged , | 2 Comments