FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
PowerShell/AdobeReaderAutomaticUpdate.ps1 at master · MicksITBlogs/PowerShell · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
MicksITBlogs
/
PowerShell
Public
Notifications
You must be signed in to change notification settings
Fork
128
Star
335
Code
Issues
6
Pull requests
3
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
PowerShell
/
AdobeReaderAutomaticUpdate.ps1
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (26 loc) · 1.46 KB
Breadcrumbs
PowerShell
/
AdobeReaderAutomaticUpdate.ps1
Copy path
File metadata and controls
26 lines (26 loc) · 1.46 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
*******************************************************************************
#
Author: Mick Pletcher
#
Date: 27 March 2013
#
#
Program: Adobe Reader Automatic Update
#
*******************************************************************************
Clear-Host
$
Global
:OS
Function
GetOSArchitecture
{
$
Global
:OS
=
Get-WMIObject
win32_operatingsystem
$
Global
:OS
.OSArchitecture
}
GetOSArchitecture
If
(
$Global
.OS.OSArchitecture
-ne
"
32-bit
"
){
New-Item
-
Path
"
HKLM:\SOFTWARE\Wow6432Node\Adobe
"
-
Name
"
Adobe ARM
"
–Force
New-Item
-
Path
"
HKLM:\SOFTWARE\Wow6432Node\Adobe\Adobe ARM
"
-
Name
1.0
–Force
New-Item
-
Path
"
HKLM:\SOFTWARE\Wow6432Node\Adobe\Adobe ARM\1.0
"
-
Name ARM –Force
New-ItemProperty
-
Path
"
HKLM:\SOFTWARE\Wow6432Node\Adobe\Adobe ARM\1.0\ARM
"
-
Name iCheck
-
Value
3
-
PropertyType DWORD
New-ItemProperty
-
Path
"
HKLM:\SOFTWARE\Wow6432Node\Adobe\Adobe ARM\1.0\ARM
"
-
Name iCheckReader
-
Value
3
-
PropertyType DWORD
}
else
{
New-Item
-
Path
"
HKLM:\SOFTWARE\Adobe
"
-
Name
"
Adobe ARM
"
–Force
New-Item
-
Path
"
HKLM:\SOFTWARE\Adobe\Adobe ARM
"
-
Name
1.0
–Force
New-Item
-
Path
"
HKLM:\SOFTWARE\Adobe\Adobe ARM\1.0
"
-
Name ARM –Force
New-ItemProperty
-
Path
"
HKLM:\SOFTWARE\Adobe\Adobe ARM\1.0\ARM
"
-
Name iCheck
-
Value
3
-
PropertyType DWORD
New-ItemProperty
-
Path
"
HKLM:\SOFTWARE\Adobe\Adobe ARM\1.0\ARM
"
-
Name iCheckReader
-
Value
3
-
PropertyType DWORD
}
Back
|
FazBrowse Home
|
New Git URL