]> git.ardis.lu - ArdisUtilities/commitdiff
Add directions on how to use install.ps1
authorArdis Lu <ardisglu@gmail.com>
Sat, 4 Feb 2023 06:03:23 +0000 (22:03 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sat, 4 Feb 2023 06:03:23 +0000 (22:03 -0800)
README.md

index c4272c4483c42118b2a83cdc2d01199d29533987..0e7c8e6a8ddcbcd39daf46953f7e27aecb1031f4 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,6 +4,14 @@ A [PowerShell module](https://docs.microsoft.com/en-us/powershell/module/microso
 
 ## Installation
 
+### Using `install.ps1`
+
+```PowerShell
+(Invoke-WebRequest 'https://raw.githubusercontent.com/ardislu/ArdisUtilities/main/install.ps1').Content | Invoke-Expression
+```
+
+### Manual
+
 1. Download the `ArdisUtilities` folder
 
 2. In PowerShell:
@@ -12,6 +20,8 @@ A [PowerShell module](https://docs.microsoft.com/en-us/powershell/module/microso
 Import-Module ./path/to/ArdisUtilities/
 ```
 
+### Persistence
+
 To persist this module on new sessions:
 - Copy the `ArdisUtilities` folder to any folder on `$env:PSModulePath` ([reference](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_psmodulepath)), or
 - Add the `Import-Module` command to your `$profile` ([reference](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles))
This page took 0.043251 seconds and 4 git commands to generate.