By Default, powershell would return the output to the calling Entity. Consider Below Example,
Get-Process -Name excel
This would simply, return the running process which matches the name excel, to the calling entity. In this case, the PowerShell Host. It prints something like,
Handles NPM(K...