Get-HcsSystem

Get-HcsSystem

Gets system information about this StorSimple device.

Syntax

Get-HcsSystem [ <CommonParameters>]

Detailed Description

The Get-HcsSystem cmdlet gets system information about this StorSimple device. The information returned includes the model type, software version, serial number, and time zone.

Parameters

<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.

  • 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

Examples

Example 1: Get StorSimple information

This command gets information about your StorSimple instance.

PS C:\> Get-HcsSystem

Set-HcsSystem