Which of the following could you use while executing a PowerShell cmdlet to ignore errors?
- -Action Errorignore
- -ErrorAction Silentlycontinue
- -Action Errorskip
- -ErrorAction Stop
EXPLANATION
If you want to ignore errors while executing a Powershell script, use -ErrorAction Silentlycontinue.For more information please see the " ErrorAction parameter" section of: https://blogs.technet.microsoft.com/heyscriptingguy/2014/07/09/handling-errors-the-powershell-way/
0 comments:
Post a Comment