So, I am running into a problem where I can’t seem to run the command without getting the following error message. Can someone give me some pointers as to what I am doing wrong? I am pulling the uninstall command from the registry and sending that information into a the variable $UninstallCMDfor the installed application and appending “/qn /norestart”. When I do this, I get the error message below.
Command= cmd.exe /c ($UninstallCMD) /qn /norestart
‘/qn’ is not recognized as an internal or external command, operable program or batch file.
Thanks for any pointers I may receive.