Get MSI code of installed applications
Use the following command to retrive a list of installed MSI code, this MSI code can be used for example as detection method in SCCM or as uninstall script parameter with the msiexe.exe /X command.
<pre class="wp-block-code">```
get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize