Set-HcsSystem
Modifies settings for your StorSimple instance.
Syntax
Set-HcsSystem
[-Name <String>]
[-Timezone <String>]
[<CommonParameters>]
Description
The Set-HcsSystem cmdlet modifies settings for your StorSimple instance.
Examples
Example 1: Modify a device name
PS C:\> Set-HcsSystem -Name "Contoso03"
InstanceId : 7ad8891d-f04b-41c6-8634-0eb7e3945c0e
Name : Contoso03
Model : 7700
SerialNumber : SHX0923218G34GS
TimeZone : (UTC-08:00) Pacific Time (US & Canada)
CurrentController : Controller1
ActiveController : Controller1
Controller0Status : Normal
Controller1Status : Normal
SystemMode : Normal
HcsSoftwareVersion : 6.3.9600.16517
ApiVersion : 9.0.0.0
VhdVersion : 6.3.9600.16517
OSVersion : 6.3.9600.0
Capacity : 549755813888000
RemoteManagementMode : HttpsAndHttpEnabled
This command modifies the name of the device.
Example 2: Set the time zone
PS C:\> Set-HcsSystem -Timezone "Eastern Standard Time"
InstanceId : 7ad8891d-f04b-41c6-8634-0eb7e3945c0e
Name : Contoso03
Model : 7700
SerialNumber : SHX0923218G34GS
TimeZone : (UTC-05:00) Eastern Time (US & Canada)
CurrentController : Controller1
ActiveController : Controller1
Controller0Status : Normal
Controller1Status : Normal
SystemMode : Normal
HcsSoftwareVersion : 6.3.9600.16517
ApiVersion : 9.0.0.0
VhdVersion : 6.3.9600.16517
OSVersion : 6.3.9600.0
Capacity : 549755813888000
RemoteManagementMode : HttpsAndHttpEnabled
This command sets the time zone of the device to Eastern Standard Time.
Parameters
-Name
Specifies a name. The cmdlet assigns the friendly name that you specify to the device. This is not the DNS name or operating system name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Timezone
Specifies the time zone for the device, such as Eastern Standard Time or Mountain Standard Time.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Microsoft.HCS.Management.Platform.Support.SystemInfo
The SystemInfo object has the following properties:
- Guid InstanceId
- String Name
- String Model
- String SerialNumber
- TimeZoneInfo TimeZone
- ControllerId CurrentController
- ControllerId ActiveController
- ControllerStatus Controller0Status
- ControllerStatus Controller1Status
- SystemMode @SystemMode
- Version HcsSoftwareVersion
- Version ApiVersion
- Version VhdVersion
- Version OSVersion
- UInt64 Capacity
- RemoteManagementMode RemoteManagementMode
The ControllerId enumeration has the following values:
- Unknown = controller_id.CONTROLLER_ID_UNKNOWN
- None = controller_id.CONTROLLER_ID_NONE
- Controller0 = controller_id.CONTROLLER_ID_A
- Controller1 = controller_id.CONTROLLER_ID_B
The ControllerStatus enumeration has the following values:
- Normal
- Recovery
- Unreachable
The SystemMode enumeration has the following values:
- Normal
- Maintenance
- Decommissioned
The RemoteManagementMode enumeration has the following values:
- HttpsAndHttpEnabled = 0
- HttpsEnabled = 1
- Disabled = 2
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for