- Home
- Windows XP
- Scripts
- How to determine the number of PCI slots available in each system connected to a network?
How to determine the number of PCI slots available in each system connected to a network?
The script available at the bottom of this page retrieves the PCI slot information from your PCs across the network. The list of computers (or IP addresses) is taken from a file named c:\servers.txt which you need to create. (Make sure that there is a carriage return line feed after each PC name/IP)
The script reads the computer names / IP addresses from C:\Servers.txt file, and connects to each computer to determine the following information:
- Total number of PCI slots
- Freely available PCI slots
This script uses Win32_PingStatus class to check the online availability of computers. Therefore, this script does not work in Windows 2000 systems.
The results are stored in a log file named "PC_Slots_Info.txt" in your Desktop. Here is a sample output:
=============================
Total PCI slots : 3
Free PCI slots : 1
Computer Name: longhornpc
==========================
Total PCI slots : 4
Free PCI slots : 3
Computer Name: 192.168.1.10
============================
Total PCI slots : 3
Free PCI slots : 1
Computer Name: 192.168.1.11
============================
Total PCI slots : 4
Free PCI slots : 3
=====================================
Computer 192.168.1.12 is currently offline
=====================================
Attachments
If you enjoyed this post, make sure you
subscribe to our RSS feed!
We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?

Author)