Powershell retorna tupla
Function MyFunction {
$value1 = 1
$value2 = 2
return @($value1, $value2)
}
$value1, $value2 = MyFunction
Av3
Function MyFunction {
$value1 = 1
$value2 = 2
return @($value1, $value2)
}
$value1, $value2 = MyFunction