Scripting Blog [archived]
Formerly known as the "Hey, Scripting Guy!" blog
Latest posts
Reporting on Digitally Signed Files with PowerShell
Summary: Using the Get-AuthenticodeSignature cmdlet to show if a file is Digitally Signed Q: Hey, Doctor Scripto! I was curious, since many new files are ...
Clean up Domain Controller DNS Records with Powershell
Summary: Using Windows PowerShell to remove Stale / Dead Domain Controller records. Q: Hey, Doctor Scripto! How can I quickly clean up all my dead Domain ...
PowerShell PowerTip: Customizing your prompt
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...
PowerTip: Use PowerShell to pick a random name from a list
Using the Get-Random Cmdlet to select a random list of names instead of numbers
Using PowerShell to create a folder of Demo data
Creating sample files with random sizes and dates for use in a Lab
PowerShell PowerTip: searching and installing modules on the command line
PowerShell 5+ ships with the module PowerShellGet, which lets us search and install modules from cmdlets. The default nuget repository is the PowerShell Gallery...
Regular Expressions (REGEX): Grouping & [RegEx]
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 ...
PowerShell PowerTip: History of commands with PSReadline
One of the really cool things PSReadline provides (module shipping on v5+) isn't as immediately obvious as the syntax highlighting. It offers a persistent ...
Regular Expressions (REGEX): Basic symbols
Welcome back to the RegEx guide. Last post we talked a little bit about the basics of RegEx and its uses. I mentioned the most important thing is to understand ...