Installing on multiple remote hosts using PowerShell cmdlets

If you want to install SnapCenter Plug-in for Microsoft Windows on multiple hosts at one time, you can do so by using the Install-SmHostPackage PowerShell cmdlet.

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 install plug-ins.

Steps

  1. Launch PowerShell.
  2. From the SnapCenter Server command prompt, initiate PowerShell session SnapCenter by entering the following command:Open-SMConnection
  3. Add the standalone host or the cluster to SnapCenter by entering the following command:Add-SmHost -HostName hostname -OSType Operating_system_type -RunAsName service_account
  4. Install the plug-in on multiple hosts by entering the following command: Install-SmHostPackage -HostName "hostname1", "hostname2", "hostname3" -ApplicationCode SCW -FilesystemCode SCW -RunAsName service_account
    Example
    Install-SmHostPackage -HostNames @("ip_address","FQDN") 
    -ApplicationCode SCW -FilesystemCode SCW -RunAsName SmoPlugin -Skipprecheck
    You can use the -skipprecheck option when you have installed the plug-ins manually and do not want to validate whether the host meets the requirements to install the plug-in.