This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installs Adobe Acrobat Reader DC | |
# Acquire a distribution license from Adobe here: http://www.adobe.com/products/reader/rdr_distribution1.html | |
# Once you have a valid license, you will have download links for Adobe Installers (without bloatware) for distribution. | |
$Installer = "$env:temp\AdobeReader.exe" | |
$DownloadURL = '' # Add download URL here | |
try { | |
# Download Installer | |
Invoke-WebRequest -Uri $DownloadURL -OutFile $Installer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installs Zoom Meetings | |
$Installer = "$env:temp\ZoomInstallerFull.msi" | |
$DownloadURL = "https://www.zoom.us/client/latest/ZoomInstallerFull.msi" | |
try { | |
# Download Zoom Meetings | |
Invoke-WebRequest -Uri $DownloadURL -OutFile $Installer | |
# Install Zoom Meetings | |
msiexec.exe /i $Installer ALLUSERS=1 /quiet /qn /norestart ZoomAutoUpdate="true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Installs Microsoft Office with ODT (Office Deployement Tool) | |
.DESCRIPTION | |
This script downloads ODT to download/install Microsoft Office with the provided configuration file. You will need to download the Microsoft ODT tool and run it to get the ODT setup executable. | |
.EXAMPLE | |
./InstallOffice.ps1 -config "https://example.com/linktoconfig.xml" -download | |
.LINK | |
ODT Download: https://www.microsoft.com/en-us/download/details.aspx?id=49117 | |
XML Configuration Generator: https://config.office.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Removes LibreOffice Installations (x32 & x64) | |
$Paths = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall', 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall' | |
$App = Get-ChildItem -Path $Paths | Get-ItemProperty | Where-Object { $_.DisplayName -like 'LibreOffice*' } | Select-Object | |
foreach ($Ver in $App) { | |
if ($Ver.UninstallString) { | |
$DisplayName = $Ver.DisplayName | |
$Uninst = $Ver.PSChildName | |
Write-Output "Uninstalling $DisplayName..." | |
cmd /c msiexec.exe /qn /uninstall $Uninst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Removes WPS (Kingsoft) Office User Based Installs | |
$App = Get-ChildItem -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object { $_.Publisher -like 'Kingsoft*' } | Select-Object -Property DisplayName, UninstallString | |
foreach ($Ver in $App) { | |
if ($Ver.UninstallString) { | |
$DisplayName = $Ver.DisplayName | |
$Uninst = $Ver.UninstallString | |
Write-Output "Uninstalling $DisplayName..." | |
cmd /c $Uninst /s | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Clears (resets) local group policies. | |
.DESCRIPTION | |
Clears (resets) local group policies by deleting registry.pol and associated files after creating a backup. | |
.EXAMPLE | |
./ResetLocalPolicies.ps1 | |
#> | |
# Local group policy files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://support.malwarebytes.com/hc/en-us/articles/1500004655761-Download-and-update-the-Malwarebytes-Toolset | |
param ( | |
[Parameter(Mandatory = $true)] | |
[string]$RegKey | |
) | |
$ArchivePath = "$env:SystemDrive\Utilities\MBTS.zip" | |
$Toolset = "$env:SystemDrive\Utilities\MBTS" | |
$DownloadURL = 'https://toolset.malwarebytes.com/file/mbts/' + $RegKey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installs Google Earth Pro | |
$Installer = "$env:temp\GoogleEarthPro.exe" | |
$DownloadURL = 'https://dl.google.com/dl/earth/client/advanced/current/googleearthprowin.exe' | |
try { | |
# Download Google Earth Pro | |
Invoke-WebRequest -Uri $DownloadURL -OutFile $Installer | |
# Install Google Earth Pro | |
Start-Process -Wait -FilePath $Installer -ArgumentList 'OMAHA=1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Initiates Microsoft Office updates | |
$Path = 'C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe' | |
$Arguments = '/update user' | |
# Get the process name | |
$ProcessName = [System.IO.Path]::GetFileNameWithoutExtension($Path) | |
# Check if Microsoft Office updates are running | |
$Running = Get-Process $ProcessName -ErrorAction SilentlyContinue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe" /update user |
OlderNewer