$uninstall32 = gci "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | foreach { gp $_.PSPath } | ? { $_ -match "Microsoft Office Professional Plus 2013" } | select UninstallString
#$uninstall64 = gci "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" | foreach { gp $_.PSPath } | ? { $_ -match "Microsoft Office Professional Plus 2013" } | select UninstallString
#if ($uninstall64) {
#$uninstall64 = $uninstall64.UninstallString -Replace "msiexec.exe","" -Replace "/I","" -Replace "/X",""
#$uninstall64 = $uninstall64.Trim()
#Write "Uninstalling..."
#start-process "msiexec.exe" -arg "/X $uninstall64 /quiet" -Wait}
#if ($uninstall32) {
#$uninstall32 = $uninstall32.UninstallString -Replace "msiexec.exe","" -Replace "/I","" -Replace "/X",""
#$uninstall32 = $uninstall32.Trim()
#Write "Uninstalling..."
#start-process "msiexec.exe" -arg "/X $uninstall32 /quiet" -Wait}
But now when I run it, i get the command line switch for the uninstall 32 part. Not sure what changed, but it was nice that it got rid of all of Microsoft Office 2013 plus, now i have to rely on configuring the config file to uninstall it.