Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

issue to silent install pidgin 2.10.9

$
0
0

I am not sure it is the script issue or the software doesn't have silent installer in it. It just doesn't work with silent installation.

Notes:  I used GPO to deploy script and software on local c:\temp folder.

 

param (

[string]$Computers =@("PC1","PC2")

)

 

ForEach ($Computer in $Computers)

{

$CurrentLocation = "c:\temp"

$exe = "pidgin.exe"

$Arguments = "/SILENT","/DS=1", "/SMS=0", "/L=1033", "/D=C:\Pidgin"

 

Start-Process -FilePath "$CurrentLocation\$exe" -ArgumentList $Arguments

}

If ($remotelastexitcode -eq 2)

{Write-Host "Computer: $Computer - LastExitCode was 2. Successful Install."

}

Else

{Write-Host "Computer: $Computer - LastExitCode was not 2, it was $remotelastexitcode. Something went wrong with the Install."

}

 

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles