MatchLightToView is a MAXScript tool for 3ds Max, written by Martin Breidt. It carries over the logic of the program's built-in "Match Camera to View" command and applies it to light objects, so a light can be set to match the current viewport in the same way a camera can.
The script is catalogued on ScriptSpot and links back to Martin Breidt's own scripts page. It is listed here as free, and version 1 is the release on record. Listed compatibility covers 3ds Max versions 4, 5, and 6.
The most recent note from the developer dates to February 2016 and points readers toward additional tools on the 3ds Max App Store. For the current download, licensing, and any later details, check Martin Breidt's page directly.