ErrorAction
say it: “AIR-er AK-shun” /ˈɛrər ˈækʃən/
Controls what a command does on error: continue, stop or stay silent.
What is ErrorAction?
-ErrorAction sets what a command does on error: Continue (show it and carry on, the default), Stop (turn it into a catchable error) or SilentlyContinue (hide it).
Remove-Item .\temp -Recurse -ErrorAction SilentlyContinue
Level: Journeyman · More PowerShell terms at this level
Updated