Deletes output instead of sending it to the console. (Out-Null)



Deletes output instead of sending it to the console.

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

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

-InputObject <psobject>
Specifies the object that was sent to null (deleted). Enter a variable that contains the objects, or type a command or expression that gets the objects.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

You can pipe any object to Out-Null.

Out-Null does not generate any output.


The cmdlets that contain the Out verb (the Out cmdlets) do not have parameters for names or file paths. To send data to an Out cmdlet, use a pipeline operator (|) to send the output of a Windows PowerShell command to the cmdlet. You can also store data in a variable and use the InputObject parameter to pass the data to the cmdlet. For more information, see the examples.

Out-Null does not return any output objects. If you pipe the output of Out-Null to Get-Member, Get-Member reports that no objects have been specified.


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.

Online version:

C:\Windows>powershell get-help Out-Default -full

ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation.

OS: Windows-7 / Windows-Vista // Windows Server 2008
»»»» ColorConsole


... Home  
... Impressum
... ColorConsole

... CMD
... Netsh-XP
... Netsh-7
... Netsh-Vista
... Powershell

Download the Windows 7 Starter, Home (Basic Premium), Professional und Ultimate!

Wo ist Paint in Windows 10, wie kann ich es öffnen?  / In der Vista Systemsteuerung fehlen viele Einstelloptionen. Wie kann ich die zurückbekommen?  / Was sind die Maus verstecken klassische und neue Strategien?  / Disable grouping in Windows 8.1, 8, 10 taskbar (turn off)?  / Erstellen einerer Internet-Verknüpfung im Windows-10 Startmenü?  / Is it possible to change the title of the Q-Dir window?  / Install Windows 10 without Product Key, can I do this?  / Desktop shortcut for Excel, Outlook, Word 2013 on the Windows 8.1 / 10 Desktop?  / Blu-Ray / DVD-Laufwerk defekt am PC, Notebook oder Laptop kein Brennen mehr möglich!  / Kann man die nicht komprimierbaren Dateien auch mit 7-Zip nicht komprimieren?!  / What is Program Files (x86) Folder in Windows 8.1 / 10 64-Bit (x64)?  / IE8.0 was now automatically updated to the latest ver., but on the surface is nothing to see?  /