November 19, 2012 12:27 PM
Posted by: Richard Siddaway
HardwareQuick 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
Posted by: Richard Siddaway
Hardware,
Operating System,
PowerShell v2,
WMIA 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
Posted by: Richard Siddaway
Hardware,
WMIIn this post
June 23, 2011 3:22 PM
Posted by: Richard Siddaway
HardwareOddly 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
Posted by: Richard Siddaway
Hardware,
WMIThe 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
Posted by: Richard Siddaway
Hardware,
PowerShell v2The 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)
June 15, 2011 12:53 PM
Posted by: Richard Siddaway
HardwareContinuing 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
Posted by: Richard Siddaway
Hardware,
Windows 7A 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
Posted by: Richard Siddaway
Hardware,
PowerShell v2,
Windows 2008 R2,
Windows 7,
WMIContinuing 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...