install-paint-3d
Installs Paint 3D
#requires -version 5.1
try {
"Installing Paint 3D, please wait..."
& winget install "Paint 3D" --source msstore --accept-package-agreements --accept-source-agreements
if ($lastExitCode -ne 0) { throw "'winget install' failed" }
"Paint 3D installed successfully."
exit 0
} catch {
throw
}This script has no configurable parameters.