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
Archive for September, 2008
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 […]
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 […]
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 […]
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 […]
Check out what the TechEd bloggers are saying – http://www.microsoft.com/emea/teched2008/itpro/community/default.aspx Share this post : Technorati Tags: TechEd
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
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 […]
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 […]
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
Categories
- .NET
- Active Directory
- Architecture
- Azure
- Bash
- BITS
- Books
- CDXML
- CIM
- Cloud
- COM
- Containers
- Deep Dive
- Desired State Configuration
- DevOps
- DHCP
- DNS
- DSC
- European Summit
- Events
- Exchange
- File System
- Firewall
- General
- General IT Matters
- Hyper-V
- IIS
- Infrastructure
- IT Community
- IT Security
- Learning PowerShell
- Linux
- Math
- Microsoft
- Modules
- Nano Server
- Networking
- Office 2010
- Office 2013
- Open Source
- Opinion
- Outlook
- Philosophy
- PowerShell
- PowerShell 7
- PowerShell and .NET
- PowerShell and Active Directory
- PowerShell and CIM
- PowerShell and Exchange 2007
- PowerShell and IIS
- PowerShell and SQL Server
- PowerShell and WMI
- PowerShell Basics
- PowerShell original
- PowerShell Summit
- PowerShell User Group
- PowerShell User Group 2
- PowerShell v2
- PowerShell V3
- PowerShell v4
- PowerShell v5
- PowerShell v6
- PowerShell.org
- PowerShellGet
- PowerShellV2
- PSAM
- Rant
- Registry
- Scripting
- Scripting Games
- Scripting Games 2104
- Security
- SQL Server
- Storage
- Strings
- Summit
- Technology
- Uncategorized
- Virtualization
- Windows 10
- Windows 2012 R2
- Windows 7
- Windows 8
- Windows 8 Server
- Windows 8.1
- Windows Server
- Windows server 1709
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- WMFv5
- WPF
- WSUS