I would like to combine the result of 2 tables into 1 A and B :
$A = Invoke-Command -ScriptBlock { get-wmiobject Win32_Product | where-Object{ $_.name -like "*Google*" } | select PackageName ,PSComputerName }
$B = gwmi win32_operatingsystem | select osarchitecture ,PSComputerName
Result A :
PackageName PSComputerName
----------- --------------
googlechromestandaloneenterprise64.msi COMPUTER1
Result B :
osarchitecture PSComputerName
-------------- --------------
64-bit COMPUTER1
The desired output :
PackageName PSComputerName osarchitecture
----------- -------------- --------------
googlechromestandaloneenterprise64.msi COMPUTER1 64-bit
Thanks in advance