From 5dcf06c493dc83ab53d5d752e3f41105577ca118 Mon Sep 17 00:00:00 2001 From: Nicholas Stevens Date: Thu, 9 Jun 2022 00:14:12 -0500 Subject: [PATCH] Update README.md --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 75c6200..3b114d0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,15 @@ This script uses The script assumes that you have - set an environment variable named **HOMEGRAPH_SERVICE_ACCOUNT** to your Google service account's **email address** ```@.iam.gserviceaccount.com``` - - hard-coded your Google master token by setting the environment variable **GOOGLE_MASTER_TOKEN** to the value of your master token + - hard-coded your Google master token by setting the environment variable **GOOGLE_MASTER_TOKEN** to the value of your master token + +## Quick Start +Once you have set your environment variables, you can make **Reboot-Chromecast** available in a **Windows PowerShell** session by running the commands below. +```ps1 +Set-ExecutionPolicy Bypass -Scope Process -Force; +[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; +iex (irm https://raw.githubusercontent.com/nstevens1040/Reboot-Chromecast/main/Reboot-Chromecast.ps1) +``` # Usage ```ps1