How can I get powershell exception descriptions into a string?

后端 未结 5 1508
猫巷女王i
猫巷女王i 2021-01-04 09:15

I want to have access to the same message that Powershell prints when you send an error record to the output stream

Example:

This is the excep

5条回答
提交回复
热议问题