You should redirect the output of the command. When you're running the program interactively, your console is receiving the console output.
However, when you use other tools to dispatch commands, you're beholden to however they capture output. Well as it turns out in Windows there are a number of different streams of messages that all write out to the console window, including Informational, Console, Warning and Error streams.
You can redirect the output of your command into the standard info stream, which is probably what Jenkins is capturing, by just appending this to the end of your commands, like this:
*>&1
This will tell PowerShell to redirect all output into the standard success stream, stream 1, and will likely solve your issue.
Here's some more reading on the topic, it definitely trips up everyone at least two times.
https://devblogs.microsoft.com/scripting/understanding-streams-redirection-and-write-host-in-powershell/
https://www.koskila.net/how-to-redirect-console-output-to-a-file/#:~:text=How%20to%20redirect%20console%20or%20PowerShell%20output%20to,worked%20%28optional%29%20...%203%20And%20that%E2%80%99s%20it%21%20