PowerShell: Encapsulating Function Inside a Function and Inside an Invoke-Command or Job
$domain='google.com' function pingSomething($x){ $result=ping $x function getTraceroute($y){ pathping $y } $result+=getTraceroute $x return $result }…
0 Comments