header image

Archive for September, 2008

User group revisited

Posted by: | September 24, 2008 | No Comment |

It is always nice to get favourable comments.  Alan has recorded his experiences at his first PowerShell user Group meeting – http://teckinfo.blogspot.com/2008/09/uk-powershell-user-group.html Check the rest of his blog for more on PowerShell and virtualisation   Share this post :   Technorati Tags: PowerShell

under: PowerShell original

User group

Posted by: | September 24, 2008 | No Comment |

Last nights user group had two good presentations. James O’Neill explained his Hyper-V library and how he learnt more about WMI than he really wanted to at the time.  The library is on codeplex at http://www.codeplex.com/PSHyperv.  This is a free download and if you are using Hyper-V is a must have for your admin toolkit […]

under: PowerShell User Group

PowerShell at TechEd EMEA

Posted by: | September 22, 2008 | No Comment |

Looks like will be a good PowerShell presence at TechEd in Barcelona this year.  A number of MVPs will be there including Tobias (PowerShell+), MoW (the powershell guy), Dmitry (PowerGUI) and me. Jeffrey Snover is speaking – well worth attending if you’ve never caught one of his talks. Should be fun.   Share this post […]

under: PowerShell original

Discovering the methods and properties available to a WMI class is very straight forward with PowerShell.  Back to Get-Member.  We can use it like this ## Listing 6.14Get-WmiObject -Class Win32_Service | Get-Member -MemberType property ## Listing 6.15Get-WmiObject -Class Win32_Service | Get-Member -MemberType method These two scripts will display the properties and methods of the Win32_Service […]

under: PowerShell and WMI

W2KSG: WMI classes

Posted by: | September 21, 2008 | No Comment |

WMI is arranged in a hierarchy of namespaces and classes.  To see the namespaces on a machine use ## Listing 6.10Get-WmiObject -Class __NAMESPACE -Namespace root | Select Name If you want to see if there are any namespaces within name spaces you will need to check each namespace in a similar manner.  I’ll leave this […]

under: PowerShell and WMI

TechEd bloggers

Posted by: | September 21, 2008 | No Comment |

Check out what the TechEd bloggers are saying – http://www.microsoft.com/emea/teched2008/itpro/community/default.aspx   Share this post :   Technorati Tags: TechEd

under: IT Community

W2KSG: WMI default

Posted by: | September 20, 2008 | No Comment |

The Windows Scripting Guide spends a bit of time showing how to derive the default root WMI namespace.  With PowerShell is always root\cimv2.   Share this post :   Technorati Tags: PowerShell,WMI

under: PowerShell and WMI

W2KSG: Operating System Info

Posted by: | September 19, 2008 | No Comment |

Progressing through the guide we have a variation on our previous script – this time we want to retrieve information about the operating system Listing 6.7 Get-WmiObject -Class Win32_OperatingSystem | Select Name, Caption, CurrentTimeZone, @{Name=’LastBootUpTime’; Expression={$_.ConvertToDateTime($_.LastBootUpTime)}}, @{Name=’LocalDateTime’; Expression={$_.ConvertToDateTime($_.LocalDateTime)}}, Locale, Manufacturer, OSType, Version, ServicePackMajorVersion, ServicePackMinorVersion, WindowsDirectory We use Win32_OperatingSystem in Get-WmiObject and then a select as […]

under: PowerShell and WMI

W2KSG: Service Information

Posted by: | September 19, 2008 | No Comment |

We can use get-service to retrieve information regarding the services installed on a system. It doesn’t return all of the information we might want – specifically it doesn’t return the starting mode of the service.  We can get this with WMI Script Center Home > Microsoft Windows 2000 Scripting Guide > Scripting Concepts and Technologies […]

under: PowerShell and WMI

PowerGUI 1.5.2

Posted by: | September 18, 2008 | No Comment |

PowerGUI 1.5.2 has gone RTM – download from the usual place at http://www.powergui.org/downloads.jspa   Share this post :   Technorati Tags: PowerShell,PowerGUI

under: PowerShell original

« Newer Posts - Older Posts »

Categories