New to PowerShell: suppress stop but print the faulty lines

Hi.
Has a program that should copy files where unfortunately some of the files give stopping errors and then the copying stops. I manage to suppress the error with the code: -ErrorAction SilentlyContinue
and then the program continues and copies the other files. How do I print the lines that give stopping errors?
try {} catch {} cancels the run.

Some of he code I run, code below calls functions that are in another script:

$ apps = Get-QlikApp -full
$ apps | ConvertTo-Csv | Out-File _AppList.csv
$ apps | ConvertTo-Json -Depth 100 | Out-File _AppList.json
# $ apps | Export-QlikApp -SkipData
$ apps | Export-QlikApp -SkipData -EV ErrCopyApp -EA SilentlyContinue
#Try to print the errors from step above:...-SkipData -EV ErrCopyApp -EA SilentlyContinue
if ($ ErrCopyApp)
    {
        Write-Output "Err1"
        Write-Output $ apps.Address.Value
        Write-Output "Err2"
        Write-Output $ apps. $ ErrCopyApp.Value
    }

Tips are welcome :slight_smile:

Erland,
Welcome to the forum. :wave:t4:

Before we proceed, please go back, edit your question and fix the formatting of the code as it is broken at the moment.

Here you can see how this works: