Calling Exit-SingleInstance when SingleInstance module is not loaded
alekdavis opened this issue · 1 comments
alekdavis commented
The script needs to check if the SingleInstance module is loaded before calling Exit-SingleInstance. Otherwise, the following error may occur:
The term 'Exit-SingleInstance' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
alekdavis commented
Fixed in v2.1.0.