No this isn’t a TechEd ate my hamster post!!! I will be on the Ask the Experts (ATE) stand at IT Pro TechEd EMEA in Barcelona. If you have PowerShell questions or even if you just want to say hi and have a chat – stop by Share this post : Technorati Tags: […]
Archive for September, 2008
PowerShell has a number of well known accelerators such as [adsi] and [wmi] that are in effect short cuts to creating .NET objects. One problem with working with .NET in PowerShell is that the class names can get quite long eg System.DirectoryServices.ActiveDirectory.Domain. This can get to be painful if you type it a lot.!! MoW […]
The sessions this morning seemed to go really well – got some good feed back and good questions. Nearly every one who registered turned up which is really excellent. 100+ people attending the event seemed pretty good to me. The Scandinavian User group launched with its first meeting this afternoon. From the discussions I heard […]
I havre mentioned the PowerShell provider for IIS 7 several times over the alst few months. One thing I had missed and should have picked up earlier is a post http://blogs.iis.net/jeonghwan/archive/2008/07/30/iis-powershell-user-guide-comparing-representative-iis-ui-tasks.aspx showing many examples of using the PowerShell provider and the cmdlets. If you are using PowerShell and IIS you need to look at this […]
Arrived in Sweden – flight wasn’t too bad which is saying a lot for me – I do not like flying!!! Looking forward to the first meeting of Scandanavian PowerShell Group. This is third group I’ve been at the first meeting and the 4th group I’ve seen start. This is getting to be a […]
I tried re-enabling comments but the idiots returned and plastered yet more comments. Comments are permanently blocked. It you wish to comment please send me a message or email Share this post : Technorati Tags: Rant
Listing 6.5 in the Scripting Guide returns to the Win32_Logical Disk class. Get-WmiObject -Class Win32_LogicalDisk | Select DeviceID All we need to do to display the drive letters is select the deviceid. if you want to see the full information leave off the select. Share this post : Technorati Tags: PowerShell,WMI Logicaldisk
WMI gives us insight into most aspects of our system’s operation. Windows machines have lots of services installed. We can see the services very simply Listing 6.3 Get-WmiObject -Class Win32_Service | Select DisplayName, State, StartMode The results will be returned in a nicely formatted table – one of the great strengths of PowerShell is that […]
A question came up about working with Active Directory objects regarding the difference between $object.attribute = "value" and $object.Put("attribute", "value") They both perform the same function in that the attribute is assigned a value. The question was whats the difference and which should you use. The question also noted that when creating objects they behave […]
Following on from the last post – the other thing we may be interested in is virtual memory. Listing 6.2 gives us this Get-WmiObject -Class Win32_OperatingSystem | Select TotalVirtualMemorySize Share this post : Technorati Tags: PowerShell,WMI,Virtual memory
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