Azure DevOps Power Shell Error - Unable to initialize device PRN

Problem Statement - We had a power shell script as part of post-deployment step in one of the release pipelines and it was erroring out with the following message "Unable to initialize device PRN" Solution - There was a print statement inside the script, replaced it with echo. Example print "Thanks for reading this post" to echo "You are awesome"