Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 322 Bytes
#requires -modules PoshRSJob
function Measure-RebootTime {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string[]]$ComputerName
)
$ComputerName | Start-RSJob -ScriptBlock {Get-RebootTime -ComputerName $_ } -Throttle 150 | Wait-RSJob | Get-RSJob | Receive-RSJob | select-object *
}
You can’t perform that action at this time.