Skip to content

Instantly share code, notes, and snippets.

@dana-ramos
dana-ramos / Install-NvidiaApp.ps1
Last active February 21, 2025 15:10 — forked from emilwojcik93/Install-NvidiaApp.ps1
Install-NvidiaApp
<#
.SYNOPSIS
This script automates the detection of an NVIDIA GPU, retrieves the latest NVIDIA App installer (either Enterprise or Public edition), and facilitates its download and installation with customizable parameters.
.DESCRIPTION
This script efficiently manages the process of downloading and installing the latest NVIDIA App by:
- Scraping the NVIDIA App webpage to locate the most recent installer.
- Verifying the existence and size of the installer file locally.
- Confirming the presence of an NVIDIA GPU on the machine prior to installation.
- Supporting a dry run mode to simulate operations without actual downloading or installation.
- Allowing the user to choose between the Enterprise and Public editions of the NVIDIA App.