April 2019
Intermediate to advanced
372 pages
12h 47m
English
Install and start PowerShell Core and execute the following steps:
Get-Item -Path $home,'nonexistant' 2> error.txt 1> success.txtGet-Content -Path error.txt, success.txt
Get-Item -Path $home,'nonexistant' 2>> error.txt 1>> success.txtGet-Content -Path error.txt, success.txt
# This helps e.g. with misbehaving external applicationsGet-Module -Verbose -List -Name 'PackageManagement','nonexistant' 2>&1 4>&1
$modules = Get-Module ...
Read now
Unlock full access