Showing results for 2018 - Scripting Blog [archived]

Nov 13, 2018
0
1

PowerShell PowerTip: Customizing your prompt

Kory Thacher
Kory Thacher

I've been taking a break from the blog for a while due to some personal reasons, but I had a few people ask me about my PowerShell prompt recently. I like extra horizontal space, so I removed the path from the prompt and put it in the window title bar. I also just display the current time in the prompt itself. ...

PowerTipPowerShellkoryt
Aug 21, 2018
0
1

PowerShell PowerTip: searching and installing modules on the command line

Kory Thacher
Kory Thacher

PowerShell 5+ ships with the module PowerShellGet, which lets us search and install modules from cmdlets. The default nuget repository is the PowerShell Gallery, but you could add others yourself (including custom ones for internal modules). There are a lot of reasons this could help you: There are a lot of cmdlets in the module, but ...

PowerTipPowerShellkoryt
Aug 14, 2018
1
2

Regular Expressions (REGEX): Grouping & [RegEx]

Kory Thacher
Kory Thacher

Welcome back to the RegEx crash course. Last time we talked about the basic symbols we plan to use as our foundation. This week, we will be learning a new way to leverage our patterns for data extraction and how to rip our extracted data into pieces we care about. [RegEx] The  data type has some cool static members,  but we're mostly going to ...

PowerShellregular expressionskoryt