Skip to content

Instantly share code, notes, and snippets.

@rdp
Created April 29, 2011 00:13
Show Gist options
  • Select an option

  • Save rdp/947611 to your computer and use it in GitHub Desktop.

Select an option

Save rdp/947611 to your computer and use it in GitHub Desktop.
require 'ruby-wmi'
WMI::Win32_LogicalDisk.find(:first) + ''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment