Add scripts
This commit is contained in:
parent
422934aef7
commit
350807c951
30 changed files with 574 additions and 0 deletions
7
Scripts/ConvertSecondsTo-TimeSpan.psm1
Normal file
7
Scripts/ConvertSecondsTo-TimeSpan.psm1
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
function ConvertSecondsTo-TimeSpan {
|
||||
param (
|
||||
$insec
|
||||
)
|
||||
$TimeSpan = [TimeSpan]::fromseconds($insec)
|
||||
"{0:dd' day 'hh\:mm\:ss}" -f $TimeSpan
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue