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

Error message for Users

$
0
0

Hello all,

My plan is to perform four hardware checks prior to the installation of some softare - the checks are:

OS is at least Windows 7

HDD Freespace is not less than 6.0 GB

CPU is greater 4.00Ghz

RAM is not less than 2.0 GB

Scripting the above is pretty easy...but what I now want to do is capture any of the failed checks and report them to the user.

E.g. one computer might fail HDD and RAM checks but another system may only fail on RAM - how can I dynamically build up a message to inform the user of the specific issue with their machine?

It would be pretty easy to just pop-up some info to the user stating that their machine doesnt meet the minimum specs but I'd rather tell them more specifically what the issue is so the service desk don't have to connect and figure out which check or checks have failed....hope this makes sense?

Thanks,

C


Carl Barrett | Twitter: @Mosquat


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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