Uninstalling Windows plug-ins using the PowerShell cmdlet on the SnapCenter Server host

You can uninstall individual plug-ins or uninstall plug-ins packages from one or more hosts by using the Uninstall-SmHostPackage cmdlet on the SnapCenter Server host command-line interface.

Before you begin

You must have logged in to SnapCenter as a domain user with local administrator rights on each host on which you want to uninstall the plug-ins.

Steps

  1. Launch PowerShell.
  2. On the SnapCenter Server host, enter: Open-SMConnection -SMSbaseUrl https://SNAPCENTER_SERVER_NAME/DOMAIN_NAME command, and then enter your credentials.
  3. Uninstall the Windows plug-ins using the Uninstall-SmHostPackage cmdlet and the required parameters.

    The information regarding the parameters that can be used with the cmdlet and their descriptions can be obtained by runningGet-Help command_name. Alternatively, you can also refer to the Cmdlet Reference Guide.

    SnapCenter Software 4.2 Windows Cmdlet Reference Guide