How to Deploy Software MSI Packages Via Group Policy GPO Windows Server 2019
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=QT4u74JWbOM
In This Video you will learn what setting has to be done on Workgroup Computers to make them accept remote installation commands. This video is quite long but I have make sure that you understand each and everything step by step. please use this script and let me know for any help. • Here I have assumed that your local administrator account username and password is same for all computer, hence use same account login to run the script so you wont face authentication issue. • ===================================================== • $Servers = Get-content C:\\Scripts\\livePCs.txt • $Folder= c:\\Scripts\\AcroRdrDC2200120085_en_US.exe , c:\\Scripts\\7z2107.msi • Foreach ($Server in $Servers) { • $Test = Test-Path -path \\\\$Server\\c$\\Temp\\ • If ($Test -eq $True) {Write-Host Path exists, hence installing softwares on $Server. } • Else {(Write-Host Path doesnt exists, hence Creating foldet on $Server and starting installation ) , (New-Item -ItemType Directory -Name Temp -Path \\\\$Server\\c$ )} • Echo Copying Files to C:\\Temp\\ • Copy-Item $Folder \\\\$Server\\c$\\Temp\\ • echo Second Part :- Installing Software on $Server • Invoke-Command -ComputerName $Server -ScriptBlock {( cmd.exe /c c:\\Temp\\AcroRdrDC2200120085_en_US.exe /sAll /sr) , • ( cmd.exe /c MSIEXEC /I c:\\Temp\\7z2107.msi /qn) , (Remove-Item -path C:\\Temp\\AcroRdrDC2200120085_en_US.exe , C:\\Temp\\7z2107.msi -ErrorAction Ignore)}} • ===================================================== • PowerShell Installing software remotely on Multiple Computers • • PowerShell Installing software remote... • Unable to move OU in Active Directory (Access is denied) • • Unable to move OU in Active Directory... • PowerShell Installing software remotely on Multiple Computers • • PowerShell Installing software remote... • Get Multiple Services Status Remotely | Remotely Start or Stop Services • • Get Multiple Services Status Remotely... • Get Date and Time from Multiple Remote Computers • • Get Date and Time from Multiple Remot... • PowerCLI - How to get HA restarted VM's List • • PowerCLI - How to get HA restarted VM... • Get-Childitem - Search file on Local and Remote Computers • • Get-Childitem - Search file on Local ... • Remotely Create Update Delete Registry Key on Multiple Computers • • Remotely Create Update Delete Registr... • Get service status from remote server's using PowerShell • • Get service status from remote server...
#############################