Get-Fun | Set-Coding
Pages
Home
PowerShell Course
Connect with Me !
Tuesday, 24 August 2021
Calculate Time to Run the Script
$starttime = (Get-Date)
get-mailox
$endtime = (Get-Date)
Write-Host "`n`nTotal Time : $(($endtime-$starttime).totalseconds) Seconds"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment