What the Heck is an ENUM?

In my latest post Explore your [Environment] I said the following: PS> [System.Environment+SpecialFolder] IsPublic IsSerial Name                                     BaseType ——– ——– —-                                     ——– False    True     SpecialFolder                            System.Enum Notice that it is an ENUM.  The great things about ENUMS is that when you specify an invalid value – it tells you what the valid values are: One of… Read more

-ErrorAction SilentlyContinue => -EA 0

In PowerShell, we draw the distinction between terminating and non-terminating errors.  The way to think about the distinction is a what should happen if I pipeline a set of objects to an operation.  There are certain errors which mean that there is little to no change that any subsequent object could be processed correctly (for… Read more