INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Powershell test of apps on PC image

Powershell test of apps on PC image

(OP)
Synopsis
========
- test-apps.ps1 is used to verify applications are correctly installed on a refurbished PC
with a new RPK image before the PC is deployed to the end customer
- tests cover network link, web browsers, notepad, wordpad, MS Office, Open Office, etc
- missing / inoperative drivers are detected
- laptop batteries are exercised and an estimate of the usable battery life is provided
- a detailed html logfile shows test results and supporting screenshots as the tests progress
- test results files are optionally copied to a central server
- there is a summary file to facilitate integration of results into inventory control systems

Notes
=====
- download the script related files:
http://www3.bell.net/brearley/public/test-apps.ps1
http://www3.bell.net/brearley/public/test-apps.bat
http://www3.bell.net/brearley/public/powershell-ex...
- download wasp.dll from: http://wasp.codeplex.com/releases/view/22118
- put wasp.dll in the same directory as the .ps1 file
- you may have to unblock downloaded files
- from windows explorer, right click on each file, select properties, click the Unblock button
- if you are deploying this script as part of a PC image, it is best to turn on
powershell scripts in the registry via the supplied .reg file
- if you are using the default windows user account control setting, then you will need to
open the powershell window by right clicking and selecting the Run as Administrator option
- if the script does not have administrator privileges, some of the tests will fail, the error
messages will flag the administrator privilege issue
- if you have changed the user account control setting to be more permissive, there is a .bat
file to run the tests from windows explorer
- if you uncomment line 34 of the .bat file, it will also update the registry entry needed to
enable powershell scripts
- for more details and options, in a powershell window, type: ./test-apps.ps1 -h

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close