explorer shell:startup
$startupFolder = [Environment]::GetFolderPath("Startup") $shortcutPath = Join-Path $startupFolder "$([System.IO.Path]::GetFileNameWithoutExtension($appPath)).lnk" add app to start up windows 11
Write-Host "✅ Added to startup (visible in Task Manager > Startup apps)" -ForegroundColor Green Startup apps)" -ForegroundColor Green