Remove-CnsVolume

This cmdlet removes the specified Cloud Native Storage (CNS) volumes.

Syntax

-CnsVolume  <CnsVolume[]>
[-RunAsync]
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
CnsVolume
CnsVolume[] named
  • wildcards
  • pipeline
  • Specifies the CNS volumes you want to remove.
    optional
    RunAsync
    SwitchParameter named Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console.
    optional
    Server
    VIServer[] named

    Output

    Examples


    Example 1

    Remove-CnsVolume -CnsVolume $CnsVolume -Confirm:$false

    Removes the $CnsVolume CNS volume without asking for confirmation.

    Related Commands

    Feedback

    Was this page helpful?