Yes, according to this post.
reg query "HKLM\Software\Microsoft\NET Framework Setup\NDP" /s /v version | findstr /i version | sort /+26 /r
The post Is there a way to determine the .NET Framework version from the command line? appeared first on Shai's technical blog.