okibcn / wslcompact

Compacts the size of the ever-growing WSL vhdx images.
https://github.com/okibcn/wslcompact
GNU General Public License v3.0
800 stars 19 forks source link

Applet not found after installing it successfuly #18

Closed warpdesign closed 1 year ago

warpdesign commented 1 year ago

I ran this to install wslcompact from a PowerShell prompt:

PS C:\Users\warpd> iwr -useb https://raw.githubusercontent.com/okibcn/wslcompact/main/setup | iex Downloading WslCompact...Done. WslCompact Module installed. Type wslcompact -h to know more about it.

But when attempting to run it, I get this error:

wslcompact : La commande «wslcompact» a été trouvée dans le module «WslCompact», mais ce dernier n’a pas pu être chargé. Pour plus d’informations, exécutez la commande «Import-Module WslCompact». Au caractère Ligne:1 : 1

  • wslcompact
  • 
    + CategoryInfo          : ObjectNotFound: (wslcompact:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
warpdesign commented 1 year ago

I guess I should read the docs more carefully :)