Somehow Write-Output isn't writing output correctly when run from inside user profile scripts. Write-Verbose seems to work correctly though. /cc @DonPwrShellHunt