< Back

Start-SVTshutdown

Tue Jan 14, 2020 2:17 am

NAME Start-SVTshutdown



SYNOPSIS

Shutdown a HPE Omnistack Virtual Controller





SYNTAX

Start-SVTshutdown [-HostName] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Ideally, you should only run this command when all the VMs in the cluster

have been shutdown, or if you intend to leave virtual controllers running in the cluster.



This RESTAPI call only works if executed on the local host to the virtual controller. So this command

connects to the virtual controller on the specifed host to shut it down.



Note: Once the shutdown is executed on the specified host, this command will reconnect to another operational

virtual controller in the Federation, using the same credentials, if there is one.





PARAMETERS

-HostName <String>



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String





OUTPUTS

System.Management.Automation.PSCustomObject





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Start-SVTshutdown -HostName <Name of SimpliVity host>



if not the last operational virtual controller, this command waits for the affected VMs to be HA compliant. If it

is the last virtual controller, the shutdown does not wait for HA compliance.



You will be prompted before the shutdown. If this is the last virtual controller, ensure all virtual machines are

powered off,

otherwise there may be loss of data.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Start-SVTshutdown -HostName Host01 -Confirm:$false



Shutdown the specified virtual controller without confirmation. If this is the last virtual controller, ensure all

virtual

machines are powered off, otherwise there may be loss of data.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Start-SVTshutdown -HostName Host01 -Whatif -Verbose



Reports on the shutdown operation, including connecting to the virtual controller, without actually performing the

shutdown.











RELATED LINKS