PowerShell UG–June 2011 reminder
Posted by: Richard Siddaway
Don’t forget to add the June meeting of the UK PowerShell User group to your calendar. Its June 21 at 7.30pm BST. Details available from
Don’t forget to add the June meeting of the UK PowerShell User group to your calendar. Its June 21 at 7.30pm BST. Details available from
Today, for one day only, get 50% off PowerShell and WMI MEAP or MEAP+ebook.
The code is dotd0529cc when you order from www.manning.com
The same code can be used for PowerShell in Action – second edition and...
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 ...
Testing the individual classes in root\wmi is a pain – so its time for some brute force. I’ll select a group of classes and test the selection
gwmi -Namespace root\wmi -List system* | fw
I can then iterate through them calling get-wmiobject.
This...
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...
The root\wmi namespace contains a massive number of classes. Unfortunately there appears to be very little documentation available for these classes. Another issue is that many of classes do not appear to return anything (at least on my Windows 7 system – further testing is required).
...I’ve added the 0.6 release of the PowerShell Admin Modules to codeplex - http://psam.codeplex.com/
This release adds two modules
PAMADSNAPSHOT – functions for work with AD snapshots in Windows 2008...
One of the standard troubleshooting tasks when investigating a problem is deciding if the machine can communicate on the network. The approach is usually
The second edition of Bruce Payette’s PowerShell in Action is available. It can be ordered from http://www.manning.com/payette2/. The electronic version includes a free electronic version of the...
When we are dealing with .NET objects we have methods and properties to deal with. Properties are easy.
lets create a simple object
$str = "QWERTYUIOP"
put our string object into get-member to see the properties
$str | Get-Member...