How to call/run this function as background process?
*****************
function GetText {
param ([string]$target)
if ($target -eq "FORM") {$line = "rFORM"}
else {$line = "rREPORT"}
return $line
}
# call funtion
$tmp = GetText FORM
# show result
Write-Host $tmp