Not sure what's going on. I have a PS script file called dothis.ps1 with the following code:
Function dothis($in)
{
Write-Host "Check $in"
}
Now, I call this in the regular powershell window (not ISE):
.\dothis.ps1 test
However, nothing is being printed to the screen. What noob mistake am I making?