From: Ardis Lu Date: Sun, 15 Sep 2024 22:10:56 +0000 (-0700) Subject: Fix open command X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=08b59fd37db74f900bffcee81bfda9fb5e410604;p=ArdisUtilities Fix open command Otherwise, Get-Module will return null if the module hasn't been used (imported) in that session yet. --- 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