Display-TimeSpan.ps1

# Display-Timespan.ps1 # Creates timespan objects and displays properties for each # Thomas Lee - tfl@psp.co.uk # Constant $HeaderFmt = " `n{0, -45} " $DataFmt = " {0,-12}{1,8} {2,-18}{3,21} " # Helper function function ShowTimeSpanProperties { param ([System.TimeSpan] $Interval = 1 ) # Display the properties of the TimeSpan parameter. " Interval = {0,21} " -f $interval Read More...

Read the complete post at http://pshscripts.blogspot.com/2008/11/display-timespanps1.html


Posted Nov 20 2008, 08:45 AM by PowerShell Scripts
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.