are you talking about powershell with blue color or cmd command ?
The registry setting applied when running the command:
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /v ExcludeWUDriversInQualityUpdate /t REG_DWORD /d 1
from an admin powershell or command prompt.