PowerShell for Windows Admins:

PowerShell v2


October 24, 2011  11:49 AM

PowerShell and WMI – new MEAP release



Posted by: Richard Siddaway
PowerShell v2, WMI

Four new chapters have been added to the MEAP  (early access) for PowerShell and WMI

Chapter 14 - Users and security

Chapter 15 - Logs, jobs, and performance

Chapter 16  - Hyper-V

Chapter 17 - Windows Remote Management

 

Chapter...

October 23, 2011  11:08 AM

Reading the hosts file



Posted by: Richard Siddaway
Network, PowerShell v2

Normally I ignore the Hosts file but my development laptop isn’t a member of my test domain – a number of reasons for this which I won’t go into.

This means that when I want to RDP to a machine in the test domain I have to use the IP address. A bit awkward but not too bad until I...


October 19, 2011  2:08 PM

Discovering NIC that has a specific IP Address



Posted by: Richard Siddaway
Deep dive, Network, PowerShell v2, WMI

One question (of many) that came up at that European Deep Dive (more on that later) was finding the particular network adapter associated with an IP Address.  The problem is that IP Address (in the later versions of Windows) is a string array in WMI

Get-WmiObject -Class...


October 4, 2011  1:27 PM

Win32_OSRecoveryConfiguration class



Posted by: Richard Siddaway
PowerShell v2, WMI

The Win32_OSRecoveryConfiguration class represents the types of information that will be gathered from memory when the operating system fails. This includes boot failures and system crashes.

One very important parameter is DebugInfoType  which sets the type of debugging information...


September 27, 2011  1:49 PM

WMI provider and MOF file



Posted by: Richard Siddaway
PowerShell v2, WMI

WMI is installed as a series of providers. The information on creating the classes comes from MOF files. I was recently asked about a problem with a specific class & could it be restored – in this case it was easier to rebuild WMI as the provider created a large part of the root\cimv2...


September 25, 2011  1:35 PM

Proxy function for Get-WmiObject



Posted by: Richard Siddaway
PowerShell v2, WMI

There are many people who don’t like to see the WMI system properties

PS> Get-WmiObject -Class Win32_OperatingSystem | select __*


__GENUS          : 2


September 21, 2011  2:20 PM

select-object quirk



Posted by: Richard Siddaway
PowerShell 3, PowerShell v2

I was working with the new CIM cmdlets in PowerShell 3 CTP and mistyped a command (as I thought)

Get-Cimclass win32_operatingsystem | select -ExpandProperty methods | select -f 1 select -ExpandProperty Qualifiers

 

My surprise was because of the two uses of select...


September 21, 2011  12:10 PM

PowerShell Deep Dive speakers



Posted by: Richard Siddaway
Deep dive, PowerShell, PowerShell 3, PowerShell v2

Some more sessions have been announced for the Deep Dive

Bookmark and Share     0 Comments     RSS Feed     Email a friend


September 17, 2011  9:44 AM

UK User Group–Alexsandar



Posted by: Richard Siddaway
PowerShell v2, User Group

Quick reminder about the UK User group Live Meeting on remoting and end points presented by PowerShell MVP Alexsandar Nikolic.

Details and link to join from

Bookmark and Share     0 Comments     RSS Feed     Email a friend


September 14, 2011  1:57 PM

The Experts Conference April 2011–My session



Posted by: Richard Siddaway
PowerShell v2, WMI

Dmitry has just posted the video of the session I did at the PowerShell deep dive @ TEC in April

Bookmark and Share     0 Comments     RSS Feed     Email a friend