Today on powershell.com
http://powershell.com/cs/blogs/tips/archive/2011/04/26/dump-enumerations.aspx
I've found this tip
function Get-Enum($name){
[Enum]::GetValues($name) | Select-Object @{n="Name";e={$_}},@{n="Value";e={$_.value__}} |
format-table -autosize
}
Can someone explain me what's the meaning of $_.value__
?
Thanks.