Hi Guys,
Do you ever want to see what going on users machines? or what Settings he have on his system,?
If you have few users in your office then you can go to there desk and check it manually, but –whatif ? you have hundreds on users or you are supporting a remote users.
I just came to same problem when i want to support a remote users and he don’t know how to run “Task manager”, how to open “RUN” dialogue box so that we can run “Msconfig” to view the list of soft wares which are on system startup list , and the internet connection was very low at his end and i can’t be able to do anything remotely.
To overcome from this situation I wrote a little script which get the system info and put everything in a HTML file and when when script done it open the HTML file in Internet Explorer. Then you can ask user to send that HTML file to you by email.
This script is using “WMI” queries to find the information , using get-wmiobject command and the covert everything to HTML using “Convertto-Html” cmdlet and save the output in to a file.
Currently the the HTML report contains .
- BIOS Information
- Physical Disk Drives
- List of Network Adapters
- Operating System Information
- Logical Disk Drives
- IP Addresses for each Network Card
- List of Startup softwares
- Running Processes
- List of Services [ Whose “startup” mode is set “Automatic” but they are currently “Stopped” for some reason]
you can also add more “wmi” queries in to the script. like, Battery info, CDROM Drive info, Printer info etc in to it.
I tested the script on “Windows7” and it is working perfectly.
The output of the script will be found at : C:\Users\USERNAME\Computername.html
you can download the whole script from here : http://dl.dropbox.com/u/17858935/SystemInformation.zip
Screenshot:
Hope you like it
Thanks
aman dhally
what if i want to run this for multiple computers and create a report? can we do that?
ReplyDeleteHi Zia,
DeleteSorry this script is not supporting Multiple Severs.
thanks
aman
This is some great stuff, ty for inspiration
ReplyDeleteThanks Joe,
DeleteI am glad that you like it,
thanks
aman
Hi Mr. Aman,
ReplyDeletewas just wondering, in your script, the running process portion, what does the VM(MB) and WS(MB) stands for?
Hi Nicholas
DeleteVM = Virtual memory
WS = Working set :)
regards
aman
Thanks a lot!
DeleteCheers!! (:
Thank you for the release.
ReplyDeleteI needed the list of software installed......Get-WmiObject win32_product | select Name,Version | ConvertTo-html -head $a -Body >> "$filepath\$vComputerName.html"