Using SCCM 2012 i installed Visual Studio 2012 Pro using this command line:
vs_professional.exe /adminfile "AdminDeployment.xml" /quiet /norestart
The link bellow explains what to change in the xml file.
https://msdn.microsoft.com/en-us/library/ee225237.aspx
The uninstall command line is :
vs_professional.exe /uninstall /quiet /silent /noweb /norestart
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.