I'm sure it's been covered, but I keep getting confused on how many " or ' should be in the line. Here is what I am attempting:
RunAs("administrator", "domain", "password", "msiexec.exe " I:\launcherapps\Language Arts\Reading\Read Out Loud.msi"")
I keep getting syntax errors. Yes I could define : $RunMSI = " I:\launcherapps\Language Arts\Reading\Read Out Loud.msi" , and then run a ShellExecute($RunMSI), but the stupid program keeps telling me the logged in user doesn't have rights to a directory and fails out, so I need to do a RunAs().
Right?