SmartResponse-Framework / SmartResponse.Framework

PowerShell module for developing LogRhythm SmartResponse Plugins
Other
8 stars 2 forks source link

Implementing Enums in PowerShell #7

Closed GeneCupstid closed 4 years ago

GeneCupstid commented 4 years ago

Lots of use cases for enums - for example, "List Type". In more robust languages, this would be represented by an enum - something we could still implement with .net. Something I will want to test and possibly implement...

Usage would look similar to:

[Lr.ListType]::GeneralValue
GeneCupstid commented 4 years ago

abandoning topic for now.