IT Questions and Answers :)

Thursday, November 23, 2017

Which of the following could you use while executing a PowerShell cmdlet to ignore errors?

Which of the following could you use while executing a PowerShell cmdlet to ignore errors?

  • -Action Errorignore
  • -ErrorAction Silentlycontinue
  • -Action Errorskip
  • -ErrorAction Stop 

 
Which of the following could you use while executing a PowerShell cmdlet to ignore errors?

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/

Share:

0 comments:

Post a Comment

Popular Posts