Question : call function powershell
Answered by : someoldguy
Write-Host "Before calling Function."
function testFunction { Write-Host "Function has been called"
}
testFunction
Source : https://stackoverflow.com/questions/41486891/calling-a-function-within-powershell-ise | Last Update : Tue, 26 Apr 22