Você deseja a saída de wmic qfe get
.
Sugiro usar winexe
ou salt
para preencher a lacuna:
$ sudo salt 'win7-salt' cmd.run 'wmic qfe get' | head -n8
win7-salt:
Caption CSName Description FixComments HotFixID InstallDate InstalledBy InstalledOn Name ServicePackInEffect Status
http://go.microsoft.com/fwlink/?LinkId=133041 WIN7-SALT Update KB2849697 NT AUTHORITY\SYSTEM 3/25/2014
http://go.microsoft.com/fwlink/?LinkId=133041 WIN7-SALT Update KB2849696 NT AUTHORITY\SYSTEM 3/25/2014
http://go.microsoft.com/fwlink/?LinkId=133041 WIN7-SALT Update KB2841134 NT AUTHORITY\SYSTEM 3/25/2014
http://support.microsoft.com/ WIN7-SALT Update KB2670838 WIN7-SALT\netdirect 11/14/2013
http://support.microsoft.com/?kbid=2830477 WIN7-SALT Update KB2830477 WIN7-SALT\netdirect 11/14/2013
http://support.microsoft.com/ WIN7-SALT Update KB2592687 WIN7-SALT\netdirect 11/14/2013