Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Uninstall Module with PowerShell 5

Summary: Learn how to uninstall a Windows PowerShell module.(image)  How can I easily uninstall a Windows PowerShell module?(image)  Use the Uninstall-Module cmdlet to remove anything discovered by using Find-Module. For example,            to permanently remove the LocalAccount module, use:Uninstall-...

A Holiday Special: Rusty the Red-Eyed Scripter, Part 2

Summary: Rusty the Red-Eyed Scripter discovers how Windows PowerShell 5.0 can pull modules from a central repository.   Note   This is a five-part series that includes the following posts: We return with Rusty sitting beside his new friend Thomas from Edmonton, all invigorated to check out Windows PowerShell...

PowerTip: Eliminate Duplicates in PowerShell History

Summary: Use an option in the PSReadLine module to control Windows PowerShell 5.0 history duplication. (image)  How can I make sure that there are no duplicates in my history? (image)  In Windows PowerShell 5.0 with the PSReadLineModule loaded, use the Set-PSReadLineOption            cmdlet ...