Uninstall a file package that you installed using the repository server from multiple hosts.
rsdeploy uninstall package_name [‑c consumer ‑r resource_group | ‑r resource_group] [‑t host_name] [‑u user_name] [‑x password]
For example, to uninstall the file package with the default settings,
The repository server attempts to uninstall mypkg.v1 (using the uninstall script included with the file package) on all hosts in the cluster using the default consumer /ClusterServices/EGOClusterServices and the resource group InternalResourceGroup.
The execution user for the installation is the user associated with the consumer, normally the installation user. The execution user must have sufficient access rights to run the uninstall script and remove the directory.