Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 17778

PowerTip: Find Current PowerShell Error Action Preference

$
0
0

Summary: Learn how to discover your current error action preference in Windows PowerShell.

Hey, Scripting Guy! QuestionHow can I see the current value for my error action preference in Windows PowerShell?

Hey, Scripting Guy! Answer Look at the value of the $ErrorActionPreference variable:

PS C:\> $ErrorActionPreference

Continue


Viewing all articles
Browse latest Browse all 17778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>