jeffharbert icon

Check Execution Time of Powershell Script

jeffharbert | PRO | 09/14/16 06:27:00 PM UTC | 0 ⭐ | 334 πŸ‘οΈ | Never ⏰ | []
PowerShell |

240 B

|

None

|

0 πŸ‘

/

0 πŸ‘Ž

##
## Run these lines from a PowerShell window. Replace name_of_powershell_script.ps1 with the name of your script.
##
$stopwatch = [Diagnostics.Stopwatch]::StartNew()
.\name_of_powershell_script.ps1
$stopwatch.Stop()
$stopwatch.Elapsed

Comments