I saw a question on Twitter the other day about how to include the Notes property when running the Get-VM Hyper-V cmdlet. I’m reading between the lines, but I think the desired goal was to include the Notes property. Here are a few ways you might tackle this problem. And even if you don’t use…
Tag: TypeData
Extending PowerShell DateTime Objects
I’ve been experimenting more with my PSTypeExtensionTools module, finding more objects to enhance. You can check out the project on Github and install the module from the PowerShell Gallery. My current fun has been with the DateTime object – specifically converting a value into another culture. Apparently those of us in North America don’t know…
A PowerShell Module for your Type Extensions
If you’ve been following this blog recently, you’ve read about my fun with PowerShell type extensions. This technique lets you make PowerShell give you the information you want without a lot of work on your part. Well, there is some work but you only have to do it once. To make it even easier, I…
Are You My Type?
I am always stressing that PowerShell is all about the objects. If you keep this in mind, PowerShell is pretty easy to use. Get a bunch of things, and select the details that you want to see or work with. Out of the box PowerShell gives you some very rich objects to work with from…
Deep Dive Formatting and Type Extensions
At the PowerShell Deep Dive, I did a short presentation on using format and type extensions. There was a lot of demo crunched into a very short period of time. Needless to say this is a complex topic that we could spend a lot of time on. But for now, let me share my slide…