I have this below command when I run this command from cmd, it is running fine. However, in PowerShell it is not running, although it is not giving any error message. Can anyone help me out to write the correct code with arguments as server_name and Nessus_Key.
Through PowerShell command I have copied "NessusAgent-8.1.0-x64.msi" in C drive already on 80 servers through server_list.txt. Now, trying to run the below command on those 80 servers passing the same server_list.txt.
msiexec /i NessusAgent-8.1.0-x64.msi NESSUS_SERVER="server name" NESSUS_KEY=NessusKey /qn
Any help would be appreciated.