Can I get detailed exception stacktrace in PowerShell?
There is a function up on the PowerShell Team blog called Resolve-Error which will get you all kinds of details Note that $error is an array of all the errors you have encountered in your PSSession. This function will give you details on the last error you encountered. function Resolve-Error ($ErrorRecord=$Error[0]) { $ErrorRecord | Format-List … Read more