From b0a0b1a52356f59186f5f2ceb1648f54f6bc6fb3 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 31 Dec 2023 20:50:44 -0800 Subject: [PATCH] Clarify the module installation is only for the current session --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index d11309b..274daa9 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,16 @@ A [PowerShell module](https://docs.microsoft.com/en-us/powershell/module/microso ### Using `install.ps1` +The `install.ps1` script will download the module to a temporary folder then use [`Import-Module`](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/import-module) to add the module to the **current session** only. To keep the module installed on future sessions, see [Persistence](https://github.com/ardislu/ArdisUtilities#persistence). + ```PowerShell iwr 'https://raw.githubusercontent.com/ardislu/ArdisUtilities/main/install.ps1' | iex ``` ### Manual +You can also add the module to the current session manually by following these steps: + 1. Download the `ArdisUtilities` folder 2. In PowerShell: -- 2.47.3