Webstorm via the Command Line on Windows

I am taking a course on TypeScript and the instructor is using WebStorm.  I thought I would try it to get the sense of another IDE. Since I spend a lot of time on the command line when I am doing node projects I wanted to be able to open the Webstorm from the command line like I do from VS Code (code) or Sublime (subl).  This is available for MAC but not for windows. So I edited my $Profile  (PowerShell profile) to add a function called ws.

Function ws(){
  Start-Process "C:\Program Files\JetBrains\WebStorm 2017.1.4\bin\webstorm64.exe" "."
}

Now when I am at the command line after creating a project I can just type ws and it will open webstorm in that director.

Hope that helps someone.