To uninstall a package:
java psoft.hsp.tools.PkgUnInstaller --pkg-name=PackageName [--force]
Options:
--pkg-name=PackageName
Specify the package name. It should be without the version and build number, as in the Package Name column in the list of installed packages in the Settings/Packages menu in admin panel.
For example, if the package installed is MyPackage-1.0.1-2.hsp, package name to be specified is MyPackage:
java psoft.hsp.tools.PkgUnInstaller --pkg-name=MyPackage
--force - force the uninstallation (no prompts to be shown).