Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 138

PowerShell • Supress output from a build file (.exe)

$
0
0
hi,
i have this code in my script: ($myIP = Get-NetIPAddress -AddressFamily IPv4 | Select-Object IPAddress)
When i build the script and run it (.exe file) i receive this in the console:
consoleMSG.png
I have tried to pipe the result to | out-null without any change. How can i remove the output in the console?

Statistics: Posted by bvnielsen — Thu Mar 28, 2024 1:25 am — Replies 2 — Views 45



Viewing all articles
Browse latest Browse all 138

Latest Images

Trending Articles





Latest Images