Function MyFunction
{
Param([string] $ComputerName)
$x1=get-process | Select ProcessName,Handles | FL
return $x1
}
write-output $x1.ProcessName
It doesn't return anything why?
Function MyFunction
{
Param([string] $ComputerName)
$x1=get-process | Select ProcessName,Handles | FL
return $x1
}
write-output $x1.ProcessName
It doesn't return anything why?