Showing archive results for June 2014

Jun 18, 2014
Post comments count0
Post likes count0

Better PowerShell History Management with PSReadLine

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using PSReadLine to gain better history support in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Someone might have said that those PowerShellers who do not learn how to use command history are doomed to retype the same commands, but I do not recall ever hearing it. In Wind...

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

PowerTip: Use PowerShell to Round Numbers

Doctor Scripto

Summary: Learn how to use Windows PowerShell to round numbers. Is there an easy way to use Windows PowerShell to round numbers up or down in a computation that produces a large amount of numbers after the decimal point? Use the static Round method from the [math] class:PS C:> $a = 22/7PS C:> $a3.14285714285714PS ...

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

A Better PowerShell Command-Line Edit

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using PSReadLine to improve command-line editing in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today I thought I would try something a bit different. It is hard to show command-line editing with screenshots and tables of shortcuts. So today’s post is basically two ...

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

PowerTip: Load PowerShell Modules and See What’s Imported

Doctor Scripto

Summary: Learn to parse load information about modules to see what’s imported. How can I analyze what is imported when a Windows PowerShell module loads? Use the –Verbose switch when importing the module, and redirect the verbose stream to a           text file so you can use Windows PowerShe...

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

The Search for a Better PowerShell Console Experience

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about the search for a better Windows PowerShell console experience. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am sipping a cup of English Breakfast tea. I added bits of spearmint, peppermint, and licorice root, along with a cinnamon stick and some lemon peel, lime peel, and orang...

Scripting Guy!Windows PowerShellscripting techniques