wmic product get name
: environment create /? shows you how to add a new environment variable. Practical Examples of Creating New Instances
If you receive an error that "wmic is not recognized," follow these steps to enable it: