Set-HcsSystem

Set-HcsSystem

Modifies settings for your StorSimple instance.

구문

Parameter Set: Default
Set-HcsSystem [-Name <String> ] [-Timezone <String> ] [ <CommonParameters>]

자세한 설명

The Set-HcsSystem cmdlet modifies settings for your StorSimple instance.

매개 변수

-Name<String>

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.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Timezone<String>

Specifies the time zone for the device, such as Eastern Standard Time or Mountain Standard Time.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • 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

예제

Example 1: Modify a device name

This command modifies the name of the device.

PS C:\> Set-HcsSystem -Name "Contoso03"

Example 2: Set the time zone

This command sets the time zone of the device to Eastern Standard Time.

PS C:\> Set-HcsSystem -Timezone "Eastern Standard Time"

관련 항목

CimInstance#MSFT_HCSSystem_Data