https://github.com/gon555551/launch_live
Short PowerShell script to launch Office365 files in the Microsoft365 browser apps using OneDrive.
https://github.com/gon555551/launch_live
microsoft microsoft365 office365 onedrive powershell powershell-script
Last synced: 3 months ago
JSON representation
Short PowerShell script to launch Office365 files in the Microsoft365 browser apps using OneDrive.
- Host: GitHub
- URL: https://github.com/gon555551/launch_live
- Owner: gon555551
- Created: 2024-06-16T22:18:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-17T11:47:56.000Z (over 1 year ago)
- Last Synced: 2025-01-15T19:51:56.473Z (9 months ago)
- Topics: microsoft, microsoft365, office365, onedrive, powershell, powershell-script
- Language: PowerShell
- Homepage: https://github.com/gon555551/launch_live/
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀Launch Live
Script to launch Office365 files in the browser.
⚠️ The file must be synced with OneDrive (in the OneDrive folder) for the script to work.
## ⚡Usage
1. Clone the repo
```bash
git clone https://github.com/gon555551/launch_live
```
***
2. Insert your Customer ID in *launch_live.ps1*
```ps
$cid = "YOUR_CID"
```
You can find it in the URL of your OneDrive root folder:
- Go to https://onedrive.live.com
- The URL should change to something like https://onedrive.live.com/?id=root&cid=YOUR_CID
***
3. Convert to executableIf you don't have *ps2exe* already installed, run:
```ps
Install-Module ps2exe
```
Then run:
```bash
Win-PS2EXE
```
And select *launch_live.ps1* as the input file
- At this point you may select an icon for the executable; I recommend *office365.ico*, included in this repo
***
4. Select *launch_live.exe* as the default app to open the files you want to open in the browserIn case you're unfamiliar with the process:
- Navigate to a file
- Right-click
- Select **Open with**
- Select **Choose another app**
- Scroll down and select **Choose an app on your PC**
- Navigate to *launch_live.exe* and select it
- Select **Always**And you're done!