I need to convert strings with optional trailing signs into actual numbers using Powershell.
Possible strings are:
- 1000-
- 323+
- 456
I'm trying to use System.Int.TryParse with a NumberStyles of AllowTrailingSign, but I can't work out how to make System.Globalization.NumberStyles available to Powershell.