I am stuck with the Acrobat Reader verification and Installation script
The code needs to
1. Ensure that Acrobat Reader has been installed. The minimum version is 9.5 If it is not installed, install it using the installer on E:\ Acrobat Reader W2008
2. Attach screenshots.
I used the code as below but it isnt working out
$tempdir = Get-Location
$tempdir = $tempdir.tostring()
$appToMatch = '*Acrobat Reader*'
#$msiFile = $tempdir+"ADR.exe"
#The below location should be the location of the Acrobat File
$msiFile = C:\Temp\ADR.exe
Not a direct answer.
But if you do this on a regular basis on many machines, then it's probably better to look into a tool for software deployment.
Rather than scripting it manually.
Either via more conventional stuff like Microsoft SCCM or you can use something like Chocolatey.
Chocolatey uses a more linux-like/repository approach and you can use it with different configuration tools like Puppet, Powershell DSC etc or stand-alone.