Skip to main content
SnapCenter 6.0 cmdlets

Update-SmHostPackage

Contributors

Updates existing host plug-ins package for one or more specified hosts to the currently available plug-ins package version.

Syntax

Update-SmHostPackage [-HostNames]  <String>  [-SkipPreinstallChecks]  <>  [-Force]  <>

Detailed Description

Updates existing host plug-ins package for one or more specified hosts to the currently available plug-ins package version.

Parameters

Name Description Required? Pipeline Input Default Value

HostNames

Name of one or more hosts for which you want to update the host package.Specifies the hosts on which you want to update the host package. You can specify one host, or multiple, comma-separated host names.Host names must be entered using the format -HostNames @("hostname") when installing to a single host, or -HostNames @("hostname1", "hostname2") when installing to multiple hosts. You can specify the hostname using either the host FQDN or IP address.

true

true (ByPropertyName)

SkipPreinstallChecks

Specifies that installation prechecks will not be triggered.

false

true (ByPropertyName)

Force

Internal switch.

false

true (ByPropertyName)

Examples

Example 1: Updating the host plug-ins package on a host

 Update-SmHostPackage -HostNames @("host2012r2.mycompany.com")

This example syntax updates an existing host plug-ins package on a host to the currently available version.

Example 2: Updating the host plugin package on multiple hosts

 Update-SmHostPackage -HostNames @("sql-1.mycompany.com", "sql-2.mycompany.com")

This example syntax updates existing host plug-in packages on multiple hosts to the currently available version.