Set-SrmApplianceState¶
Synopsis¶
Restart or shutdown the appliance.
Syntax¶
Set-SrmApplianceState [-action] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description¶
The Set-SrmApplianceState
cmdlet allows you to restart or shutdown the Site Recovery Manager appliance.
Examples¶
Example 1¶
Set-SrmApplianceState -action restart
This example restarts the Site Recovery Manager appliance.
Example 2¶
Set-SrmApplianceState -action stop
This example shuts down the Site Recovery Manager appliance.
Parameters¶
-action¶
The action parameter The action to perform.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
Progress Action
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Common Parameters¶
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.