From 08b59fd37db74f900bffcee81bfda9fb5e410604 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 15 Sep 2024 15:10:56 -0700 Subject: [PATCH] Fix open command Otherwise, Get-Module will return null if the module hasn't been used (imported) in that session yet. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ea86e8..06a7606 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ To keep the module installed on future sessions, pass the `-Persist` parameter: To uninstall, delete the `ArdisUtilities` folder. You can open this folder in your file explorer using: ```PowerShell -Open-ParentFolder (Get-Module -Name ArdisUtilities).Path +Open-ParentFolder (Get-Module -Name ArdisUtilities -ListAvailable).Path ``` ### Manual -- 2.47.3