header image

Archive for March, 2013

CIM cmdlets

Posted by: | March 26, 2013 | No Comment |

The CIM cmdlets are found in the CIMcmdlets module. Get-Command -Module CimCmdlets  produces this list of names.  I’ve added some information on the tasks they perform Get-CimAssociatedInstance  is for working with WMI associated classes Get-CimClass  is for discovering the properties and methods of a WMI class Get-CimInstance    is analogous to  Get-WmiObject Get-CimSession  Invoke-CimMethod    is analogous […]

under: PowerShell and WMI, PowerShell V3

WMI vs CIM

Posted by: | March 24, 2013 | No Comment |

An email debate yesterday regarding the use of the CIM cmdlets (new in PowerShell 3) vs the WMI cmdlets made me realise that other people are probably wondering the same thing, The question is really part of a the semi-philosophical debate about when you should adopt new technology. In the case of the WMI/CIM cmdlets […]

under: PowerShell and WMI, PowerShell V3

I’m postponing the 26 March session on PowerShell and Hyper-V until 9 April. Invites will go out shortly

under: PowerShell User Group

PowerShell 3 SDK samples

Posted by: | March 21, 2013 | No Comment |

A sample pack for the SDK is now available -  see http://blogs.msdn.com/b/powershell/archive/2013/03/17/windows-powershell-3-0-sample-pack.aspx

under: PowerShell V3

Last time we saw the Get-NetAdapter cmdlet from the NetAdapter module PS> Get-NetAdapter | ft Name, InterfaceDescription, Status -a Name     InterfaceDescription                           Status —-     ——————–                           —— Ethernet NVIDIA nForce 10/100/1000 Mbps Ethernet        Up WiFi     Qualcomm Atheros AR5007 802.11b/g WiFi Adapter Up If you look in the module you also find Disable-NetAdapter & Enable-NetAdapter PS> Disable-NetAdapter -Name […]

under: PowerShell and WMI, PowerShell V3, Windows 8, Windows Server 2012

Network adapters

Posted by: | March 4, 2013 | No Comment |

The WMI classes Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration have seen a lot of use over the years. They can be a bit fiddly to use which is why the NetAdapter module in Windows 8/2012 is a so welcome. Lets start by looking at basic information gathering PS> Get-NetAdapter | ft -a Name     InterfaceDescription                        ifIndex Status MacAddress        LinkSpeed […]

under: PowerShell and WMI, PowerShell V3, Windows 8, Windows Server 2012

Windows 8 Kindle app

Posted by: | March 1, 2013 | No Comment |

Amazon have released an update for the Windows 8 Kindle app that appears to have resolved the corrupted display issue that occurred after every few pages of reading. I would recommend updating the app immediately. The app now seems to be usable.

under: Windows 8

Categories