Out-Null - PowerShell command help and examples

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 <CommonParameters> This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type, "get-help about_commonparameters".
System.Management.Automation.PSObject You can pipe any object to Out-Null.
None 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
----------- 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. RELATED LINKS Online version: http://go.microsoft.com/fwlink/?LinkID=113366 Out-Printer Out-Host Out-File Out-String Out-Default C:\Windows>powershell get-help Out-Default -full

Microsoft Windows [Version 10.0.19045.3693]
Copyright (c) 2023 Microsoft Corporation.

ColorConsole [Version 3.7.1000] PowerShell 2.0-Export

Windows 11, 10, 8.1, 8, 7 / Server 2022, 2019, 2016


... Windows 10 FAQ
... Windows 10 How To

Windows 10 How To

... Windows 11 How To
... Windows 10 FAQ

PowerShell: Deletes output instead of sending it to the console.

HTTP: ... PS_Windows/en/Out-Null.htm

Change Windows Desktop Icon Size and View, plus save!

Show My Computer or This PC as an icon?

Filenames to file timestamps, I want set the time to 00:00:00?

Where does the desktop clock save the settings on MS Windows 10/11?

Geräteinstallationseinstellungen ändern unter Windows 11!

Wie kann ich die Mausspur bei Windows 11 aktivieren / deaktivieren?