PowerShell - Error Handling
What will be the output of this PowerShell script?
try {
Get-ChildItem -Path 'Z:\nonexistentfolder' -ErrorAction Stop
} catch {
Write-Host "Error accessing folder: $_"
}