Showing tag results for Adapted Type System

Sep 6, 2008
Post comments count0
Post likes count0

Hate Add-Member? (PowerShell's Adaptive Type System to the Rescue)

PowerShell Team
PowerShell Team

Do you hate Add-Member as much as I do? Wait - maybe you aren't familiar with Add-Member or the glory of PowerShell's Adaptive Type System.  (ATS).  When I looked at the .NET type system, my reaction was "....almost".  I'm not trying to throw a rock at .NET - anyone that knows me knows how much I love .NET but the reality is that it'...

Adapted Type SystemAdd-MemberPSObject
Aug 1, 2006
Post comments count0
Post likes count0

Encoding Operations Knowledge

PowerShell Team
PowerShell Team

One of the primary goals of Windows PowerShell is to encode operations knowledge.   Consider the example of finding out what domain role a computer plays.  If you look at the WMI class WIN32_COMPUTERSYSTEM, you'll see that it tells you this information:   PS> Get-WMiObject Win32_computerSystem |fl dom*Domain  &...

FAQPHILOSOPHYWMI