Get-CimInstance Win32_ComputerSystem | Export-Csv -Path "C:\data.csv" -NoTypeInformation
wmic product where name="SoftwareName" call uninstall /nointeractive wmic help new
WMIC is a in newer builds. Enable it via: wmic help new