Powershell + Time elapsed
$sw = [Diagnostics.Stopwatch]::StartNew()
ping -l 10 192.168.2.2
$sw.Stop()
$sw.Elapsed
$res = “Elapsed: ” + $sw.Elapsed.Hours + ” hours ” + $sw.Elapsed.Minutes + ” minutes ” + $sw.Elapsed.Seconds + ” seconds”
echo $res
Windows 10 + .Net 3.5 install issue Powershell + Logoff inactive users
Comments are currently closed.