fbpx

Powershell Scripts

These scripts are provided for reference and included “as is” with no implied warranty or guarantee

Chocolatey Installation

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1’))

Default App Script

choco install Googlechrome adoptopenjdk Firefox Adobereader 7zip.install Notepadplusplus.install Powershell Dotnet4.5 Irfanview Googleearth cutepdf microsoft-edge -y

PoSh Windows Update

Install-PackageProvider -Name NuGet -Force; Set-PSRepository -Name ‘PSGallery’ -InstallationPolicy Trusted; Install-Module -Name PSWindowsUpdate; Set-PSRepository -Name ‘PSGallery’ -InstallationPolicy Untrusted

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force; Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot