GitHub Pages · PowerShell
Office Auto Installer
One command · Administrator PowerShell · official Microsoft tools
Copy one line, paste it into PowerShell (Administrator), press Enter. Stay online until setup finishes.
How it works
Same three steps on every PC: copy → admin PowerShell → paste and Enter.
-
Copy the command
Go to Command to copy below, then click Copy command. Or select the line in the box and press Ctrl+C.
-
Open PowerShell as Administrator
You must see Administrator in the title bar. Quick route: Win → type PowerShell → Ctrl+Shift+Enter → confirm UAC. Alternatively: right-click Start → Terminal (Admin) or Windows PowerShell (Admin).
-
Paste and run
Click inside the PowerShell window so the cursor is on the line. Paste with right-click or Ctrl+V, then press Enter.
Command to copy
Run this only from sources you trust. You need an internet connection.
irm "https://njvanas.github.io/Office-Auto-Install/office.ps1" | iex
Other options (only if you need them)
If GitHub Pages is blocked — raw file
irm "https://raw.githubusercontent.com/njvanas/Office-Auto-Install/main/office.ps1" | iex
Text-only prompts in the terminal (no separate installer window)
$env:OFFICE_AUTO_INSTALL_USE_CONSOLE = "1" irm "https://njvanas.github.io/Office-Auto-Install/office.ps1" | iex
Using your own fork
Set this before the irm line:
$env:OFFICE_AUTO_INSTALL_REPO = "yourname/Office-Auto-Install"
After you run it
- The script downloads the installer from GitHub, then continues — follow any prompts on screen.
- Installation often takes 10–30 minutes; keep the PC on and online.
- You must have a valid Office license; this tool does not provide one.