Display: Cloud | List
Most Popular Tags
Results (7 total) All > powershell (x) > system.diagnostics.stopwatch (x)
Display Stopwatch Fields using PowerShell (Stopwatch Fields (System.Diagnostics))
<# .SYNOPSIS This script displays the static fields of a stopwatch object. .DESCRIPTION This script first displays the two static fields in the stop watch object: Frequency, and IsHighResolution. Details of these are on MSDN. .NOTES File Name : Get-StopWatchFields.ps1 Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell V2 CTP3 .LINK This scrip
Last modified by Thomas Lee on 5/4/2009 4:23:43 PM
Stop Method sample, using PowerShell (Stopwatch.Stop Method (System.Diagnostics))
<# .SYNOPSIS Demonstrates use of the System.Diagnostics.Stopwatch .NET Class .DESCRIPTION This script is a community content MSDN sample,using PowerShell .NOTES File Name : Get-ElapsedTime Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell V2 CTP3 .LINK Sample posted to: http://pshscripts.blogspot.com Original MSDN sample at
Last modified by Thomas Lee on 5/4/2009 3:54:01 PM
Sample showing StartNew static method, using PowerShell (Stopwatch.StartNew Method (System.Diagnostics))
<# .SYNOPSIS This script displays the use of the Reset method in a StopWatch object. .DESCRIPTION This script calls the StartNew static method to create and start a new stopwatch object, and displays the current values for the stop watch. The stopwatch is then reset using the Reset method, then the current values are displayed. At completion, the stopwatch is stopp
Last modified by Thomas Lee on 5/4/2009 3:52:00 PM
StopWatch Sample, recoded in PowerShell (Stopwatch.Start Method (System.Diagnostics))
<# .SYNOPSIS Demonstrates use of the System.Diagnostics.Stopwatch .NET Class .DESCRIPTION This script is a community content MSDN sample,using PowerShell .NOTES File Name : Get-ElapsedTime Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell V2 CTP3 .LINK Sample posted to: http://pshscripts.blogspot.com Original MSDN sample at
Last modified by Thomas Lee on 5/4/2009 3:52:48 PM
Sample showing Reset Method - written in PowerShell (Stopwatch.Reset Method (System.Diagnostics))
<# .SYNOPSIS This script displays the use of the Reset method in a StopWatch object. .DESCRIPTION This script calls the StartNew static method to create and start a new stopwatch object, and displays the current values for the stop watch. The stopwatch is then reset using the Reset method, then the current values are displayed. At completion, the stopwatch is stopp
Last modified by Thomas Lee on 5/4/2009 3:24:45 PM
Display StopWatch Properties, using PowerShell (Stopwatch Properties (System.Diagnostics))
<# .SYNOPSIS Gets and displays properties of a stopwatch .DESCRIPTION This script, written as an MSDN Sample, creates and starts a stop watch. The script stops the stopwatch, and displays the properties. To some degree, the results indicate how long it takes to start and stop a stopwatch. Also, the runtimes vary if you run it multiple times. .NOTES File Name
Last modified by Thomas Lee on 5/3/2009 6:28:26 PM
Sample 1, recoded in PowerShell (Stopwatch Class (System.Diagnostics))
<# .SYNOPSIS Demonstrates use of the System.Diagnostics.Stopwatch .NET CLass .DESCRIPTION This script is a community content MSDN sample,using PowerShell .NOTES File Name : Get-ElapsedTime Author : Thomas Lee - tfl@psp.co.uk Requires : PowerShell V2 CTP3 .LINK Sample posted to: http://pshscripts.blogspot.com Original MSDN sample at
Last modified by Thomas Lee on 5/3/2009 5:06:52 PM
Page view tracker