I've seen that there are transaction scope tools in PowerShell for working with the registry. But, I also understand that PowerShell providers have to specifically be set up to use transactions. Does SharePoint (preferably 2010) have something similar to this, or can you use transactions in Management Shell at all?
If not, is there any option to wrap my script in a
try/catch kind of a tool to ensure that, if an error occurs, the entire script will be rolled back?