Showing archive results for June 2014

Jun 20, 2014
Post comments count0
Post likes count0

PowerTip: Determine PSReadLine Option Configuration

Doctor Scripto

Summary: Use a cmdlet to find the way PSReadLine options are configured.  I recently started using PSReadLine, and I would like to see the way options are configured.           How can I report the options settings?  Use the Get-PSReadLineOption cmdlet.

Scripting Guy!Windows PowerShellscripting techniques
Jun 20, 2014
Post comments count0
Post likes count0

A Better PowerShell Console with Custom PSReadLine Functions

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about a better Windows PowerShell console experience by using custom PSReadLine functions. Microsoft Scripting Guy, Ed Wilson, is here. I was reading an interesting article the other day. The author was talking about movies and history. The author said that in reality it does not matter if a histor...

Scripting Guy!Windows PowerShellscripting techniques
Jun 19, 2014
Post comments count0
Post likes count0

PowerTip: Unload All Non-Microsoft Modules

Doctor Scripto

Summary: Learn to unload all non-Microsoft Windows PowerShell modules.  Windows PowerShell is acting funny and I want to unload all modules that are not written by Microsoft.           How can I easily do this?  Use Get-Module to find all loaded modules, use the Where-Object cmdlet to filter fo...

Scripting Guy!Windows PowerShellPowerTip
Jun 19, 2014
Post comments count0
Post likes count0

Useful Shortcuts from PSReadLine PowerShell Module

Doctor Scripto

Summary: Microsoft Scripting Guy Ed Wilson talks about useful shortcuts from the PSReadLine Windows PowerShell module. Microsoft Scripting Guy, Ed Wilson, is here. This is PSReadLine Week. You might also be interested in reading the following posts: One of the really cool things about the PSReadLine Windows PowerShell module is all of t...

Scripting Guy!Windows PowerShellscripting techniques
Jun 18, 2014
Post comments count0
Post likes count0

PowerTip: Add Days, Hours, and Minutes to Current Time

Doctor Scripto

Summary: Use Windows PowerShell to easily add days, hours, and minutes to the current time.  How can I use Windows PowerShell to add one day, two hours, and thirty minutes to the current date and time?  Create a TimeSpan object that represents one day, two hours, and thirty minutes,           then add it...

Scripting Guy!Windows PowerShellPowerTip