UI

Out-GridView

Get-Command -Module SqlServer -CommandType Cmdlet | Out-GridView

Output

Surpass output

Using Out-Null Cmdlet (the slowest)

mkdir newfolder | Out-Null

Typecasting to [void]

[void] mkdir newfolder

Assignment to $NUL (the fastest)

$null = mkdir newfolder

Redirection to $NULL

mkdir newfolder > $null

https://geekeefy.wordpress.com/2017/10/07/4-ways-to-send-output-to-null-in-powershell/

results matching ""

    No results matching ""