From: Ardis Lu Date: Mon, 1 Jan 2024 04:50:44 +0000 (-0800) Subject: Clarify the module installation is only for the current session X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=b0a0b1a52356f59186f5f2ceb1648f54f6bc6fb3;p=ArdisUtilities Clarify the module installation is only for the current session --- 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: