PowerShell - Error Handling
You run this code:
But the output is empty. What is the likely reason?
Get-Item 'C:\missingfile.txt'
Write-Output $Error[0]
But the output is empty. What is the likely reason?
