< Back

Remove-InStorVolHostMap

Wed Jan 15, 2020 4:19 am

NAME Remove-InStorVolHostMap



SYNOPSIS

Unmaps the volume from the selected host; return successful information if succeed while return fail information

if fail.





SYNTAX

Remove-InStorVolHostMap [-Conn] <InStorConnection> [-Host] <String> [-Vdisk] <String> [<CommonParameters>]





DESCRIPTION

Unmaps the volume from the selected host; return successful information if succeed while return fail information

if fail.





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 to be unmapped..



Required? true

Position? 1

Default value

Accept pipeline input?

Accept wildcard characters? false



-Vdisk <String>

The ID or Name of the Vdisk that the specified volume will be unmapped from.



Required? true

Position? 2

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-InStorVolHostMap $conn -Host "0" -Vdisk "cdh_vol1"



Unmap the vdisk named "cdh_vol1" from the host with id "0".







Vdisk,Host Map: cdh_vol1,0 , is removed successfully.





RELATED LINKS