Closed Astorias96 closed 1 year ago
Hi Astorias96,
Thank you for your feedback! :heart_eyes_cat:
Remove-Module removes a module in the current session, it does not uninstall the module itself. I would just add the latest version and remove the folder(s) of the old version(s).
Best, Mick
Hello Mick,
Thank you for your help. This allows me to prepare the correct update sequence for HardeningKitty. However, could you please confirm if Remove-Module and deleting the old files would 'uninstall' the module itself ? I was unable to uninstall it using Uninstall-Module cmdlet.
Thank you in advance for your feedback. Best, Astorias96
Remove-Module alone will not uninstall an old version. Uninstall-Module only works for modules installed with Install-Module. So you cannot use it for HardeningKitty. If you remove all files of an version, that version is "completely gone".
Many thanks for your replies & explanations ! Kind regards, Astorias96
Hello 0x6d69636b,
First things first, thank you for this nice repository.
I used your automatic script to install HardeningKitty. I was unable to remove the module using Remove-Module, I had to delete the files manually, but I am unsure if this is the best method in case of version upgrades. Can you please provide uninstall instructions ?
Thank you in advance for your feedback.
Kind regards, Astorias96