Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Powershell Error Catching for Rundll32 printui.dll,PrintUIEntry

$
0
0

Hello,

I need to use rundll32 printui.dll,PrintUIentry command in a powershell script.

I use TRY/CATCH with invoke-command cmdlet, but the problem is when an error occurs, it is not catched, execution do not stop, pop up appers,...

Is there a way to stop script execution and log the error in a file when use rundll32 printui.dll, printUIentry

Thanks

Vince


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>