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>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
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 RemoteManagementModeThe 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_BThe ControllerStatus enumeration has the following values:
-- Normal
-- Recovery
-- UnreachableThe SystemMode enumeration has the following values:
-- Normal
-- Maintenance
-- DecommissionedThe 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