You need to make sure to run that command in the same directory as the Forge installer, either use the cd (Change Directory) command or in explorer make sure nothing is selected, then shift right click anywhere in the same directory as the installer (making sure you aren't selecting anything as you do so) and click "Open Command Prompt Here", if you see open Powershell Window here that's fine the command will still work.