Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell Scripting Question

$
0
0

Hello all,

I have a script that actually runs perfectly fine, but I did notice - after extensive testing - that when I add a wmic command inside my script to perform an uninstall, everything works as it's supposed to, but at the end of the script it, my error handling grabs this:

  + CategoryInfo          : NotSpecified: (:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

Any ideas on how I can rectify this? I don't want any errors in my script, even if they're benign.

Thanks!


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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