< Back

Remove-InstorHost

Wed Jan 15, 2020 4:18 am

NAME Remove-InstorHost



SYNOPSIS

Removes the host ; it will return successful information if the host is successfully removed, otherwize it will

return fail information.





SYNTAX

Remove-InstorHost [-Conn] <InStorConnection> [-Host] <String> [<CommonParameters>]





DESCRIPTION

Removes the host ; it will return successful information if the host is successfully removed, otherwize it will

return fail information.





PARAMETERS

-Conn <InStorConnection>

The Connection to MCS Storage, returned by cmdlet New-InStorConnection.



Required? true

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Host <String>

The ID or Name of the Host that will be removed.



Required? true

Position? 1

Default value

Accept pipeline input?

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



OUTPUTS

String

returns a result of string type contains successful or fail information.





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



Remove-InStorHost $conn -Host "host_fc"



Remove the host named "host_fc".







Host: host_fc, is removed successfully.





RELATED LINKS