PowerShell Logo Small

Out-Null



This is the built-in help made by Microsoft for the command 'Out-Null', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' 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 down the pipeline.

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/p/?linkid=289602
Out-Default
Out-File
Out-Host
Out-Printer
Out-String

REMARKS

<

Examples


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

PS C:\>Get-ChildItem | Out-Null



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