Navigation: TCC > Variables & Functions > Variables
_HWPROFILE
_HWPROFILE returns the name of the current Windows hardware profile.
Example:
echo %_hwprofile
Undocked Profile