Skip to content

workstation_info.vbs

Corey Watson edited this page Dec 1, 2025 · 1 revision

workstation_info.vbs

Displays a popup message box showing system information to the end user.

Overview

This VBScript displays comprehensive workstation information in a Windows message box. It is designed to be triggered from the RMM tray icon for user self-service.

Purpose

Displays a popup message box showing system information to the end user. Designed to be triggered from the RMM tray icon for user self-service.

Prerequisites

  • Windows 10/11
  • No special privileges required

Configuration

Required Inputs

None (script runs without parameters)

Information Collected

  • Operating System name and version
  • Computer name and current user
  • Serial number
  • CPU name and core count
  • Total RAM
  • Network adapter info (name, IP, MAC)

Behavior

The script collects system information via WMI queries and displays it in a Windows message box popup:

  1. Gathers operating system information
  2. Collects computer name and current user
  3. Retrieves CPU specifications
  4. Calculates total RAM
  5. Enumerates network adapters with IP and MAC addresses
  6. Gets hardware serial number
  7. Displays all information in a formatted message box

Security Notes

  • Read-only WMI queries
  • No sensitive information exposed beyond standard hardware inventory
  • No secrets or credentials handled

Exit Codes

VBScript does not use formal exit codes. The script displays information and terminates.

Example Output

The script displays a Windows message box with the following format:

=== Workstation Information ===

=== Operating System ===
Name: Microsoft Windows 10 Pro
Version: 10.0.19045

=== Computer ===
Name: WORKSTATION-01
User: jsmith
Serial: ABC12345

=== Hardware ===
CPU: Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz
Cores: 8
RAM: 16.00 GB

=== Network ===
Adapter: Intel(R) Ethernet Connection
IP: 192.168.1.100
MAC: 00:11:22:33:44:55

Version History

  • 2024-12-01 v1.0.0 - Initial release - migrated from SuperOps

Links

Clone this wiki locally