Posted On January 7, 2020

PowerShell: Install DotNet 3.5 – the Easy Way

kimconnect 0 comments
blog.KimConnect.com >> Codes >> PowerShell: Install DotNet 3.5 – the Easy Way
$package="dotnet3.5"

# Install Chocolatey
if (!(Get-Command choco.exe -ErrorAction SilentlyContinue)) {
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))}

# Install the package
choco install $package -y

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Expand Disk Volume to Maximum Size

# expandDisk.ps1 # version 0.02 $driveLetters=(Get-wmiobject win32_volume -filter 'DriveType=3 AND DriveLetter IS NOT NULL').DriveLetter function…

Python Module: JSON

Overview JavaScript Object Notation (JSON) is written in plain-text that is very useful to store…

PowerShell Dealing with Proxy

# Direct Access - no proxy netsh winhttp reset proxy   # Set proxy $proxyString…