< Back

Remove-InstorVolume

Wed Jan 15, 2020 4:19 am

NAME Remove-InstorVolume



SYNOPSIS

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

will return fail information.





SYNTAX

Remove-InstorVolume [-Conn] <InStorConnection> [-Force] <SwitchParameter> [-Vdisk] <String> [[-Opts] <String>]

[<CommonParameters>]





DESCRIPTION

Removes the volume ; it will return successful information if the volume 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



-Force <SwitchParameter>

The sign indicates wheather to Deletes the specified volume, even if mappings still exist between this volume

and one or more hosts. This parameter deletes any host-to-volume mappings and any LocalCopy mappings that

exist for this volume..



Required? true

Position? 1

Default value

Accept pipeline input?

Accept wildcard characters? false



-Vdisk <String>

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



Required? true

Position? 2

Default value

Accept pipeline input?

Accept wildcard characters? false



-Opts <String>

Optional parameter for special purpose.



Required? false

Position? 3

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-InStorVolume $conn -Vdisk "cdh_test_create3"



Remove the vdisk named "cdh_test_create3".







Vdisk: cdh_test_create3 ,is removed successfully.





RELATED LINKS