Summary: Cloud & Datacenter Management MVP, Thomas Rayner, shows how to work with the ErrorActionPreference variable in Windows PowerShell.
(image) Â I have a script that requires me to change the ErrorActionPreference variable, but how can I set it to its original value after the script is done?
(image) Â Store the current value of $...