Showing results for March 2013 - Page 7 of 13 - Scripting Blog [archived]

Mar 16, 2013
Post comments count0
Post likes count0

Weekend Scripter: Use PowerShell and Custom Time Span Format Strings

ScriptingGuy1
ScriptingGuy1

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and custom time span format strings to display lapsed time. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am awake and sipping a nice cup of English Breakfast tea with a little peppermint and spearmint leaves in it. I am thinking back over yesterday&rsqu...

Scripting Guy!Windows PowerShellscripting techniques
Mar 15, 2013
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Find the Number of Seconds in Three Days

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to easily find the number of seconds in three days.  How can I use Windows PowerShell to find how many seconds are in three days without diving into a bunch of multiplication or division?  Use the New-TimeSpan cmdlet to create a time span of three days, and select the TotalSeconds proper...

Scripting Guy!Windows PowerShellPowerTip
Mar 15, 2013
Post comments count0
Post likes count0

Use PowerShell and Conditional Formatting to Format Time Spans

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell and conditional formatting to discover and  format time spans.  Hey, Scripting Guy! What is a time span, and why would I want to use one? Just sayin'… —JR  Hello JR, Microsoft Scripting Guy, Ed Wilson, is here. This morning is one of those mornings that remind me of when I was...

Scripting Guy!Windows PowerShellscripting techniques
Mar 14, 2013
Post comments count0
Post likes count0

PowerTip: Use UNIX Date Formatting in PowerShell

Doctor Scripto
Doctor Scripto

Summary:  Learn how to use UNIX date formatting in Windows PowerShell.  How can I use my prior knowledge of UNIX date formatting to specify dates in Windows PowerShell? Use the Get-Date cmdlet and the –Uformat parameter. For example, to display a date in standard format for your current locale, use the “x&r...

Scripting Guy!Windows PowerShellPowerTip
Mar 14, 2013
Post comments count0
Post likes count0

Use PowerShell and Conditional Formatting to Format Dates

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and conditional formatting to control the format of dates.  Hey, Scripting Guy! I know that Windows PowerShell has made it easier to deal with dates, especially with some of the tricks that are available via the Get-Date cmdlet. But at times I need to display dif...

Scripting Guy!Windows PowerShellscripting techniques