In this blog post, I will show you how to hide a PowerShell cmdlet output and not showing it on the screen.
In some cases, you might need to hide the output of you PowerShell cmdlet. for example, you might have a use case where you need to create a password or some sensitive information that you don’t want to output to the console or screen.
The cmdlet that allows us to hide PowerShell output, is out-null as shown in the example below
get-process | out-null