Dropping unwanted output

Refer to the following table:

Assign to null

$null = Expression
$null = Get-Command

Cast to void

[Void](Expression)
[Void](Get-Command)

Pipe to Out-Null

Expression | Out-Null
Get-Command | Out-Null

Redirect to null

Expression > $null
Get-Command > $null
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.79.176