Powershell Remote Command line Installation

When using this command line installation in front of the PC, I have no problem. Installs as it should:

MSIEXEC /i C:\Temp\BEST_downloaderWrapper.msi /qn GZ_PACKAGE_ID=mysuccessfulstring REBOOT_IF_NEEDED=1)


When I use the same command as part of the Poweshell remote feature to install remotely It does not install, no errors just aborts without installing and without feedback:

Invoke-Command -ComputerName $Server -ScriptBlock {(&cmd.exe /c MSIEXEC /i C:\Temp\BEST_downloaderWrapper.msi /qn GZ_PACKAGE_ID=mysuccessfulstring REBOOT_IF_NEEDED=1)

Any ideas? Thanks, Gideon.

Answers

  • Gjoksi
    Gjoksi Defender of the month mod

    Hello.

    I've seen topics here in the Community about Bitdefender's Advanced Threat Defense blocking PowerShell scripts or something connected with PowerShell. But, can't say exactly what are the problems, since i'm not an IT expert.

    Anyway, you should do the following steps:

    First, take screenshot(s) of the issue,

    create a log file on your Windows device using Bitdefender Support Tool, by following these steps:

    and

    create a log file on your Windows device using BDsysLog, by following these steps:

    Next, contact Bitdefender Consumer Support by e-mail:

    with short description of the issue.

    After that, you will get an automated reply by the Bitdefender Customer Care Team, with your ticket number.

    Now, in reply to that automated reply, you can send the screenshot(s) you already took and the log files you already created in the first step.

    Since you are all done, just wait for the support engineers to investigate your issue and find a solution to fix the issue.

    Remember that the screenshot(s) and the log files will help a lot to the support engineers for better and faster investigation on your issue and finding a solution.

    Regards.