## p4get-depot ## aaron bockelie Function p4get-depot {param($depot) $servercheck = p4get-server if ($servercheck.pingsuccess.equals($true)) { $depotList = p4get depots $depotList | %{$_.time = (convertUnixTime $_.time)} #convert the time to a time object. if (!$depot) { $depotList } else { $depotList | ?{$_.name -eq $depot} } } }