Fraid I don't know the command you want but have you tried Belarc Advisor will give you info on soft and h/ware, and it's free, oh and will tell you if MS updates are up to date.
Surface Pro (2017) vs Surface Pro 4
20 groundbreaking 3D animation technologies coming to Siggraph 2017
iPad Pro 12.9 vs Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.