Showing results for August 2013 - Page 12 of 13 - Scripting Blog [archived]

Aug 4, 2013
Post comments count0
Post likes count0

PowerTip: Add Commands to PowerShell History

Doctor Scripto
Doctor Scripto

Summary: Learn how to add commands to your Windows PowerShell command history.  I have been working in the Windows PowerShell console all day, and I have several commands I keep running. It requires a lot of up and down arrowing to retrieve them. How can I add them to the my command history?  Use Get-History to retrieve a list o...

Scripting Guy!Windows PowerShellPowerTip
Aug 4, 2013
Post comments count0
Post likes count0

Weekend Scripter: Looking at PowerShell Aliases

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about looking at Windows PowerShell defined aliases. Microsoft Scripting Guy, Ed Wilson, is here. I am constantly amazed by Windows PowerShell. It keeps getting better and better. There are so many improvements in each new version that it is hard to keep up with them. For example, this morning I wa...

Scripting Guy!Windows PowerShellscripting techniques
Aug 3, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Get Detailed Network Adapter Information

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to get detailed network adapter information about Windows 8.  How can I use a function to get detailed network adapter information about my Windows 8 device?  Use the Get-NetAdapterHardwareInfo function and pipe the results to Format-List: Get-NetAdapterHardwareInfo | Format-List *

Scripting Guy!Windows PowerShellPowerTip
Aug 3, 2013
Post comments count0
Post likes count0

Weekend Scripter: Use PowerShell to Get Folder Sizes

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to get folder sizes. Microsoft Scripting Guy, Ed Wilson, is here. I was talking via Lync to my friend Rolf in Munich, Germany the other day. He said the temperatures were approaching 100 degrees Fahrenheit. We have been lucky in Charlotte, North Carolina—we have...

Scripting Guy!Windows PowerShellWeekend Scripter
Aug 2, 2013
Post comments count0
Post likes count0

PowerTip: Find the Number of Variables In-Scope

Doctor Scripto
Doctor Scripto

Summary: Find the number of variables in-scope in your function.  How can I see how many variables are available in-scope and out-of-scope in my Windows PowerShell function?  Use the Get-Variable cmdlet, the Count property, and the –Scope parameter: All variables PS C:\> function myvar {(Get-Variable...

Scripting Guy!Windows PowerShellPowerTip