Live race data from your P1TS server streamed directly into Excel
| File | Purpose |
|---|---|
| P1TS-Excel.ps1 | Main refresh engine – run this to start live data |
| P1TS-Excel-Common.ps1 | Shared helpers (required, loaded automatically) |
| P1TS-Excel-Create-Shortcut.ps1 | Creates a desktop shortcut for easy launching |
| P1TS-Excel-Create-MyLeaderboard.ps1 | Builds an optional My.Leaderboard formula sheet |
| P1TS-Excel-Create-MyRunSheet.ps1 | Builds an optional My.RunSheet formula sheet |
| favicon.ico | Icon used by the desktop shortcut |
Open PowerShell and run the block below. It creates
C:\P1Software\P1TS-Excel and downloads every
file in one go.
$dest = "C:\P1Software\P1TS-Excel"
New-Item -ItemType Directory -Force -Path $dest | Out-Null
$base = "http://www.p1ts.com/p1ts-excel"
$files = @(
"P1TS-Excel.ps1",
"P1TS-Excel-Common.ps1",
"P1TS-Excel-Create-Shortcut.ps1",
"P1TS-Excel-Create-MyLeaderboard.ps1",
"P1TS-Excel-Create-MyRunSheet.ps1",
"favicon.ico"
)
foreach ($f in $files) {
Invoke-WebRequest "$base/$f" -OutFile "$dest\$f"
Write-Host "Downloaded $f"
}
Write-Host "Done. Files saved to $dest"
Windows blocks unsigned scripts by default. Run these once in a normal PowerShell window (not As Administrator):
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
Then unblock the downloaded files so Windows trusts them:
Get-ChildItem "C:\P1Software\P1TS-Excel\*.ps1" | Unblock-File
This creates a P1TS Excel Live shortcut on your Desktop so you can launch it with one click:
& "C:\P1Software\P1TS-Excel\P1TS-Excel-Create-Shortcut.ps1"
Open (or create) an Excel workbook, then double-click the P1TS Excel Live desktop shortcut created in Step 3.
Or, if you skipped the shortcut, run from PowerShell:
& "C:\P1Software\P1TS-Excel\P1TS-Excel.ps1"
On first run it creates a P1.Excel sheet in your workbook with these settings:
http://sro.p1ts.com)Edit those cells, save, and the script picks up the new values on the next cycle – no restart needed.
These scripts add pre-built formula sheets (e.g., MyLeaderboard, MyRunSheet) that pull from the live tables (P1.Leaderboard, P1.Laps). Run them once with the P1TS workbook active in Excel:
Overall leaderboard with car-class color coding and hero-car highlight:
& "C:\P1Software\P1TS-Excel\P1TS-Excel-Create-MyLeaderboard.ps1"
Per-lap run sheet for the hero car:
& "C:\P1Software\P1TS-Excel\P1TS-Excel-Create-MyRunSheet.ps1"
Close the PowerShell window, or press Ctrl+C
inside it. The workbook is unaffected – data stays until the
next refresh.
P1.USERNAME and P1.PASSWORD
cells in the P1.Excel sheet.P1.URL cell and your network connection.