Tag - powershell

Calculate Time Difference between Dates in PowerShell

14 views   0 comments last modified about 29 days ago powershell

PowerShell provides a number of cmdlets to retrieve current date time and to create time span object. Calculate time difference - CmdLets $current = Get-Date $end= Get-Date $diff= New-TimeSpan -Start $current -End $end Write-Output "Time difference is: $di...

View detail