If you are using PowerShell on Windows it aliases "gs" to the command Get-Member - make sure you run your code from the regular console....