Hello
I am trying to automate mass deployment of TV. I am testing a script using this KB artcile the but getting an error message when it runs.
I run (CMD is in the correct directory):
start /wait "MSIEXEC.EXE /i" "C:\TV\TeamViewer_Full.msi" /qn
I get:
Start-Process : A positional parameter cannot be found that accepts argument 'C:\TV\TeamViewer_Full.msi'.
At line:1 char:1
+ start /wait "MSIEXEC.EXE /i" 'C:\TV\TeamViewer_Full.msi' /qn
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Start-Process], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.StartProcessCommand
Unsure what I am doing wrong as I have copied the script from the KB article.
Any ideas?
Many thanks