Friday, June 5, 2020

Want to hide output in PowerShell ?

Out-Null 

When we execute any command in cmdlet, usually it send its result down the pipe line .
In other words, we can say if we execute any command it display it's output.
Let's see below, here it is listing all the child item inside the windows directory.

 
Now we will use out-null, let's go : Here it does not return any output.

Featured post

System-preferred multifactor authentication (MFA)

Popular Posts