PowerShell for Windows Admins:

Hardware


December 10, 2012  4:00 PM

Keep taking the tablets



Posted by: Richard Siddaway
Hardware

Tablets seem to be all the rage at the moment. I’ve been working with three different types over the last month or so and thought I’d share my observations. These are base on my personal circumstances and needs – yours may be quite different.

The 3 tablets are in order that I...

November 19, 2012  12:27 PM

Kindle Fire quirk



Posted by: Richard Siddaway
Hardware

Quick report of an oddity that I discovered with the Kindle Fire.  If you copy an ebook in mobi format onto the Fire you can read it with no problem.  If you select remove from device when you have finished reading the book it disappears from the list on books on the device. The file...


July 1, 2011  1:56 PM

Computer report



Posted by: Richard Siddaway
Hardware, Operating System, PowerShell v2, WMI

A recent post on the powershell.com site asked about running a Windows command (batch) file through PowerShell against remote machines. The batch file was expected to produce a number of files of data in a folder structure based on computer name. This makes it difficult as we could in theory run...


June 26, 2011  12:14 PM

Monitor brightness–or not



Posted by: Richard Siddaway
Hardware, WMI

In this post

Bookmark and Share     0 Comments     RSS Feed     Email a friend


June 23, 2011  3:22 PM

root\wmi–set monitor brightness



Posted by: Richard Siddaway
Hardware

Oddly the methods for changing the brightness aren’t on the WmiMonitorBrightness we get a separate class with the methods. This function can be used to set the brightness

function set-monitorBrightness {
[CmdletBinding()]
param (
[ValidateRange(5,20)] ...


June 23, 2011  3:16 PM

root\wmi – Monitor brightness



Posted by: Richard Siddaway
Hardware, WMI

The monitor brightness can be discovered like this

function get-monitorBrightness {

$monitors = Get-WmiObject -Namespace root\wmi -Class WmiMonitorBrightness

foreach ($monitor in $monitors){
  $brightness = New-Object -TypeName PSObject -Property @{


June 16, 2011  1:26 PM

root\wmi – WmiMonitorColorCharacteristics



Posted by: Richard Siddaway
Hardware, PowerShell v2

The rather long winded name of this class might put you off but it does show something useful

Get-WmiObject -Namespace root\wmi -Class WmiMonitorColorCharacteristics

produces these results (dropping the system properties)

  Bookmark and Share     0 Comments     RSS Feed     Email a friend


June 15, 2011  12:53 PM

root\wmi–Monitor information



Posted by: Richard Siddaway
Hardware

Continuing our intermittent browse through the root\wmi namespace we find a set of classes that seem to be linked to monitors

Get-WmiObject -Namespace root\wmi -List WmiMonitor*

WmiMonitorBrightnessEvent
WmiMonitorConnectionParams
WmiMonitorRawEEdidV1Block ...


May 27, 2011  12:17 PM

root\wmi–MSBatteryClass



Posted by: Richard Siddaway
Hardware, Windows 7

A number of the classes in root\wmi return results from more than one class. That sounds odd but it can be explained by an example.

The namespace contains a number of classes related to the battery in laptops

gwmi -Namespace root\wmi -List *battery*

MSBatteryClassEvent ...


May 26, 2011  12:42 PM

root\wmi – MS_SystemInformation



Posted by: Richard Siddaway
Hardware, PowerShell v2, Windows 2008 R2, Windows 7, WMI

Continuing our exploration of the murky jungle that is the root\wmi namespace we find a number of classes related to system configuration

gwmi -Namespace root\wmi -List *system* | fw

 

Of theses the only one I could get a respnse from on Windows 7 or Windows 2008 R2...