November 2018
Intermediate to advanced
566 pages
17h 15m
English
Let us make the series of steps we would like to take into a script.
Create a new PowerShell script file and add the following to it:
Get-Item $HOME/random/randompackage.zip -ErrorAction SilentlyContinue
if (!$?) {
Write-Host "PowerShell seems to have encountered an error while running the last command."
}
$Error[0] | Select-Object -Property *
Execute this script to get error details.
Read now
Unlock full access