PowerShell Logo Small

Out-Null



This is the built-in help made by Microsoft for the command 'Out-Null', in PowerShell version 2 - as retrieved from Windows version 'Microsoft® Windows Vista™ Ultimate ' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Deletes output instead of sending it to the console.

SYNTAX


Out-Null [-InputObject <psobject>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Out-Null cmdlet sends output to NULL, in effect, deleting it.



<

RELATED LINKS

Online version: http://go.microsoft.com/fwlink/?LinkID=113366
Out-Printer
Out-Host
Out-File
Out-String
Out-Default

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>get-childitem | out-null



Description
-----------
This command gets the items in the local directory, but then it discards them instead of passing them through the pipeline or displaying them at
the command line. This is useful for discarding output that you do not need.