PowerShell for Windows Admins:

WMI


May 13, 2012  10:34 AM

TCP/IP Alternative Configuration: pt I The configuration



Posted by: Richard Siddaway
Network, PowerShell, WMI

A question on the forum got me wondering about setting the Alternative Configuration on a TCP/IP properties of a network adapter. NICs are normally configured to either DHCP or a static address. If you use DHCP another tab “Alternative Configuration” appears on the IPv4 properties dialog....

May 6, 2012  8:00 AM

Scripting Games 2012 comments: #13 Default Printer



Posted by: Richard Siddaway
PowerShell, WMI

In one of the events you had to find the default printer. This can be done using WMI.

The full list of printers can seen using:

Get-WmiObject -Class Win32_Printer

 

If you want to examine the printer objecy – to determine what information is available -...


May 5, 2012  12:50 PM

Scripting Games 2012 comments: #12 date conversions



Posted by: Richard Siddaway
PowerShell, WMI

 

A few times in the games you were asked for date time based information. Now WMI has a lot of classes that return WMI information. It is in an awkward format though

PS> Get-WmiObject -Class Win32_OperatingSystem | fl *time*


CurrentTimeZone : 60


April 15, 2012  10:17 AM

PowerShell and WMI



Posted by: Richard Siddaway
Books, PowerShell 3, PowerShell v2, WMI

My latest book – PowerShell and WMI – has gone to the printers. Expect it soon at a book shop near you.

www.manning.com/powershellandwmi

for more details


April 2, 2012  12:33 PM

Finding the primary name of a DNS alias record



Posted by: Richard Siddaway
DNS, PowerShell, WMI

A forum question asked how to find the primary name from an alias or CNAME record.

Get-WmiObject -Namespace 'root\MicrosoftDNS' -Class 			


March 30, 2012  8:49 AM

PowerShell in Practice offer today only



Posted by: Richard Siddaway
Active Directory, Books, Hyper-V, Network, Operating System, PowerShell, Processor, Registry, WMI

Manning have PowerShell in Practice on a half price offer today. Go to www.manning.com and use code dotd0330cc when ordering


March 29, 2012  2:57 PM

UK PowerShell Group March 2012 meeting recording



Posted by: Richard Siddaway
PowerShell, PowerShell 3, User Group, WMI

 

The recording, slides and demo script from the session on CIM cmdlets – Tuesday 27 March is available

Bookmark and Share     0 Comments     RSS Feed     Email a friend


March 25, 2012  5:09 AM

UG meeting reminder – March 2012



Posted by: Richard Siddaway
PowerShell 3, User Group, WMI

Quick reminder that the UK user group meeting is on Tuesday 27 March @ 7.30 BST.  Details from

Bookmark and Share     0 Comments     RSS Feed     Email a friend


March 19, 2012  4:33 PM

Reading registry values with CIM



Posted by: Richard Siddaway
PowerShell 3, Registry, WMI

In this post

Bookmark and Share     0 Comments     RSS Feed     Email a friend


March 18, 2012  2:30 PM

Get Global Catalog from DNS



Posted by: Richard Siddaway
Active Directory, DNS, PowerShell, WMI

One option for finding global catalog servers is often overlooked – DNS.  In an AD environment DNS stores the SRV records that advertise the services domain controllers can deliver

$dnsserver =