Microsoft .NET Framework 3.5
Downloads
Version | Release Date | File |
---|---|---|
3.5 | Download |
Install Detection
This script will look at the registry to see if the .NET Framework installer has run for 3.5.
$Exists = Test-Path "HKLM:\\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5"
if ($Exists -eq $True) {
$Host.SetShouldExit(1)
} else {
$Host.SetShouldExit(0)
}
Install Script
This script installs the .NET Framework 3.5 redistributable silently.
Write-Host "Installing .NET Framework 3.5..."
Start-Process -FilePath "dotnetfx35.exe" -ArgumentList "/q /norestart" -Wait -Passthru
Write-Host "Done!"