Monday, December 25, 2017

Powershell get error/exception details

Leave a Comment
Sometime while executing script we find some exceptions/error e.g. Access is denied. So to see details of inner except just run following powershell command:

$error[0]|format-list -force
If You Enjoyed This, Take 5 Seconds To Share It

0 comments: