Unable to log function output with Out-File nor Add-Content

Write-Host only writes to the console, not to the output stream. Use Write-Output instead.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top