Start-HcsHotfix
Start-HcsHotfix
Installs a hotfix on a StorSimple device.
Syntax
Parameter Set: Default
Start-HcsHotfix -Path <String> [-Credential <PSCredential> ] [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Start-HcsHotfix cmdlet installs one or more hotfixes on a StorSimple device. You must install maintenance mode updates on each controller individually. If you do not install a maintenance mode hotfix on each controller, data may become lost or corrupted.
Parameters
-Credential<PSCredential>
Specifies a PSCredential object. Specify a credential that has read permission for the location that the Path parameter specifies. To obtain a PSCredential object, use the Get-Credential cmdlet. For more information, type Get-Help Get-Credential
.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Force
Forces the command to run without asking for user confirmation.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Path<String>
Specifies a file name, including the path, to the hotfix to install. The hotfix must be on a share that the StorSimple device has access to. If the share requires credentials, they must be supplied with the Credential parameter.
If you have trouble accessing a network share by specifying a name (for example, \\mysharehost\temp\), try accessing it by IP address instead (for example, \\192.168.0.25\temp\). Because this device is not joined to a domain, accessing network shares by name does not always work, depending on the configuration of your network. The device cannot communicate over IPSEC enabled networks.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Install a hotfix
This command installs a hotfix on a StorSimple device.
PS C:\> Start-HcsHotfix -Path "\\myshare\hotfix\hotfix.exe"
Example 2: Install multiple hotfixes [update 4 and later]
This command installs multiple hotfixes on a StorSimple device. You must provide a path to the folder with multiple hotfixes.
PS C:\> Start-HcsHotfix -Path "\\myshare\hotfix\"