Don't know why this was SO hard to find...
FYI: I understand there is an Enum function? command? in PoSh V5.
Add-Type -TypeDefinition @"
// very simple enum type
public enum ReportingPeriods
{
All,
Yesterday,
CurrentWeek,
PreviousWeek,
MonthToDate,
LastMonth,
YearToDate
}
"@
[ReportingPeriods]::