]> git.ardis.lu - ArdisUtilities/commitdiff
Fix open command
authorArdis Lu <ardisglu@gmail.com>
Sun, 15 Sep 2024 22:10:56 +0000 (15:10 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sun, 15 Sep 2024 22:10:56 +0000 (15:10 -0700)
Otherwise, Get-Module will return null if the module hasn't been used (imported) in that session yet.

README.md

index 7ea86e8b9fdcd0c88271a75897db28178ae5b8ff..06a7606de93e9453ed50629dd99f80ad79e562e9 100644 (file)
--- 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
This page took 0.038308 seconds and 4 git commands to generate.