Skip to content
Geeks Hangout
  • Home
  • Fixes
  • Tips
  • Scripts
  • Tools
  • About

WMI

VBS Script to get a computers screen aspect ratio

August 9, 2016January 4, 2016 by Geeks Hangout

The below script will find the screen aspect ratio of a computers primary video controller by querying WMI. The script stores the horizontal and vertical resolution for each video controller in an array and returns the result of dividing the …

Read more

Leave a comment

PowerShell script to show the state of your laptop battery

December 27, 2015July 8, 2011 by Geeks Hangout

Windows holds so much great information in the WMI including information on the battery. The below is a little PowerShell function that will show you what state your laptop battery is in full, charging etc. Function Check–BatteryState { param($Laptop=$env:computername) $Bstatus …

Read more

Leave a comment

Recent Posts

  • A Step‑by‑Step Guide to SharePoint Sites.Selected Permissions Using Microsoft Graph
  • Transfer Files via AS2 with Azure Logic App
  • How to Enable PowerShell Logging
  • I haven’t posted in two years!
  • How to retrieve saved MySQL Workbench passwords
  • Testing a Serial COM Port Printer
  • Azure App Services and WordPress with PHP 8.x

Recent Comments

  • Karim on System i / AS400 Client Access Copy and Paste with CTRL-C and CTRL-V
  • Mark on Unifi Inform Status: Server Reject
  • Aleena on Azure Data Factory – How to Save Web Activity to Blob Storage
  • Sandy on System i / AS400 Client Access Copy and Paste with CTRL-C and CTRL-V
  • Bill on FIXED “The requested security information is either unavailable or can’t be displayed”
  • Caio Bauab on Azure Data Factory – Get and Use Key Vault Secrets
  • Aland on Install all RSAT tools via PowerShell
© 2026 Geeks Hangout
Hosted by: Cloudways | Ads by: Ezoic | Theme: Generate Press
🛠 The Tools I Use 🛠
Privacy Policy | Contact Me