How to Install Adobe Reader with PowerShell
In this tutorial you will learn how to install Adobe Reader with PowerShell. By the end of this tutorial, you would have successfully deployed Adobe Reader onto a Windows computer.
Introduction:
Installing Adobe Reader using PowerShell provides a straightforward and automated method to add this widely-used PDF reader to your Windows system. PowerShell, a command-line scripting language developed by Microsoft, offers powerful tools for managing and automating tasks in Windows.
In this guide, I will walk you through the steps to install Adobe Reader using PowerShell. Adobe Reader is a free application that allows you to view, print, and annotate PDF files. By utilizing PowerShell, you can streamline the installation process and ensure a smooth setup.
Before proceeding, please ensure that you have administrative privileges on your Windows computer. Additionally, make sure you have a stable internet connection to download the Adobe Reader installer. It’s also a good practice to check the official Adobe website for the latest version of Adobe Reader.
Now, let’s proceed with the steps to install Adobe Reader using PowerShell.
$CheckADCReg = Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | where {$_.DisplayName -like "Adobe Acrobat Reader DC*"} If ($CheckADCReg -eq $null) { $Installdir = "c:\temp\install_adobe" New-Item -Path $Installdir -ItemType directory $source = "ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/2001320064/AcroRdrDC2001320064_en_US.exe" $destination = "$Installdir\AcroRdrDC2001320064_en_US.exe" Invoke-WebRequest $source -OutFile $destination Start-Process -FilePath "$Installdir\AcroRdrDC2001320064_en_US.exe" -ArgumentList "/sAll /rs /rps /msi /norestart /quiet EULA_ACCEPT=YES" Start-Sleep -s 240 rm -Force $Installdir\AcroRdrDC* }
The PowerShell Script will do the following.
- Call to Adobe Reader FTP URL.
- Download the Adobe Reader package.
- Finally, it will install the Adobe Reader onto the Windows Computer.
If you have any questions, feel free to reach out.
Conclusion:
Installing Adobe Reader using PowerShell is a convenient and efficient way to add this essential PDF reader to your Windows system. By following the steps outlined in this guide, you can easily automate the installation process and ensure a hassle-free setup.
I hope this article was helpful! You can find more here: PowerShell Articles
Discover more from Patrick Domingues
Subscribe to get the latest posts sent to your email.
Hi,
i always get this:
Invoke-WebRequest : Der Remoteserver hat einen Fehler zurückgegeben: (421) Dienst nicht verfügbar, Steuerungsverbindung wird geschlossen.
In Zeile:8 Zeichen:1
+ Invoke-WebRequest $source -OutFile $destination
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.FtpWebRequest:FtpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Start-Process : Dieser Befehl kann aufgrund des folgenden Fehlers nicht ausgeführt werden: Das System kann die angegebene Datei nicht finden.
In Zeile:11 Zeichen:1
+ Start-Process -FilePath “$Installdir\AcroRdrDC2001320064_en_US.exe” – …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
This usually means there is an issue with the server you are trying to access. The server might be down, or there could be a network problem.
Solution
1. Verify the server’s availability and ensure that the URL specified in $source is correct.
2. Make sure that there are no network issues preventing you from accessing the server.
3. If you are trying to download a file over FTP, you might also want it is allowed.
Thanks Patrick, it worked. But this is the x32 version do you have the option for a x64 version?
How to uninstall it from all the devices? using PowerShell?
Devices: Windows, Android, IOS, Linux?