Showing archive results for September 2013

Sep 3, 2013
Post comments count0
Post likes count0

PowerTip: Find Current PowerShell Error Action Preference

Doctor Scripto

Summary: Learn how to discover your current error action preference in Windows PowerShell. How can I see the current value for my error action preference in Windows PowerShell?  Look at the value of the $ErrorActionPreference variable: PS C:\> $ErrorActionPreference Continue

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

Windows PowerShell 3.0 First Steps: Part 2

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shares a portion from his popular Microsoft Press book Windows PowerShell 3.0 First Steps. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to share with you another portion from my new book, Windows PowerShell 3.0 First Steps, which was recently released by Microsoft Press. To read the first pa...

Scripting Guy!Windows PowerShellscripting techniques
Sep 2, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell 3.0 to Resize Partitions

Doctor Scripto

Summary: Use Windows PowerShell 3.0 in Windows Server 2012 or Windows 8 to resize partitions.  How can I easily resize partitions in Windows Server 2012 or Windows 8 by using Windows PowerShell 3.0?  Microsoft PFE, Jason Walker, says, “Use the Get-PartitionSupportedSize and the Resize-Par...

Scripting Guy!Windows PowerShellPowerTip
Sep 2, 2013
Post comments count0
Post likes count0

Windows PowerShell 3.0 First Steps: Part 1

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, shares a portion from his popular Microsoft Press book Windows PowerShell 3.0 First Steps. Microsoft Scripting Guy, Ed Wilson, is here. Today I want to share with you a portion from my new book, Windows PowerShell 3.0 First Steps, which was recently released by Microsoft Press. Understanding Windows Powe...

Scripting Guy!Windows PowerShellscripting techniques
Sep 1, 2013
Post comments count0
Post likes count0

PowerTip: Display Progress Bar with PowerShell

Doctor Scripto

Summary: Learn how to display a progress bar by using Windows PowerShell.  How can I easily display a progress bar by using Windows PowerShell?  Use the Write-Progress cmdlet: for ($i = 1; $i -le 100; $i++) {Write-Progress -Activity 'counting' -Status " $i percent" -PercentComplete $i ; sleep -Milliseconds 20}

Scripting Guy!Windows PowerShellPowerTip