< Back
Remove-AzureStorSimpleDeviceVolumeContainer
Post
NAME Remove-AzureStorSimpleDeviceVolumeContainer
SYNOPSIS
Removes a volume container from a StorSimple device.
SYNTAX
Remove-AzureStorSimpleDeviceVolumeContainer [-DeviceName] <String> [-VolumeContainer] <DataContainer> [[-WaitForComplete]] [[-Force]] [-Profile
<Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureStorSimpleDeviceVolumeContainer cmdlet removes a volume container object from a StorSimple device. This cmdlet prompts you for
confirmation unless you specify the Force parameter.
PARAMETERS
-DeviceName <String>
Specifies the name of the StorSimple device on which to the volume container to remove exists.
Required? true
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Indicates that this cmdlet does not prompt you for confirmation.
Required? false
Position? 4
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Profile [<Microsoft.Azure.Common.Authentication.Models.AzureProfile>]
Specifies an Azure profile.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-VolumeContainer <DataContainer>
Specifies the volume container to remove, as a DataContainer object. To obtain a DataContainer object, use the
Get-AzureStorSimpleDeviceVolumeContainer cmdlet.
Required? true
Position? 2
Default value none
Accept pipeline input? true(ByValue)
Accept wildcard characters? false
-WaitForComplete [<SwitchParameter>]
Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell????????? console.
Required? false
Position? 3
Default value none
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
DataContainer
This cmdlet accepts a DataContainer object to remove.
OUTPUTS
TaskStatusInfo
This cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Remove a container by using the pipeline
PS C:\\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08" |
Remove-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -Force
VERBOSE: ClientRequestId: 0efbb4fc-ceb0-4311-bc49-0e08161d0a37_PS
VERBOSE: ClientRequestId: bf5b615f-47e3-4868-91b6-f2d12217a302_PS
VERBOSE: ClientRequestId: 5590c87e-0602-4197-b6c3-cf58b0e7a7b3_PS
VERBOSE: ClientRequestId: b33c71ac-c345-44ff-8213-d7fdf9f8480a_PS
VERBOSE: ClientRequestId: 903d42ef-58f4-4e89-ba7f-5f234262356d_PS
VERBOSE: About to create a job to remove your Volume container!
VERBOSE: ClientRequestId: 2279575f-5115-4344-9c6f-9ef599bd203e_PS
e9ddec89-67ac-4e2e-a2ed-820de3547bb0
VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId
e9ddec89-67ac-4e2e-a2ed-820de3547bb0 for tracking the task's status
VERBOSE: Volume container with name: Container08 is found.
This command gets the volume container named Container08 on the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer
cmdlet. The command passes the volume container to the current cmdlet by using the pipeline operator. This command starts the task to remove the
container, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. This command specifies the
Force parameter, so it does not prompt you for confirmation.
RELATED LINKS
Get-AzureStorSimpleDeviceVolumeContainer
New-AzureStorSimpleDeviceVolumeContainer
SYNOPSIS
Removes a volume container from a StorSimple device.
SYNTAX
Remove-AzureStorSimpleDeviceVolumeContainer [-DeviceName] <String> [-VolumeContainer] <DataContainer> [[-WaitForComplete]] [[-Force]] [-Profile
<Microsoft.Azure.Common.Authentication.Models.AzureProfile>] [<CommonParameters>]
DESCRIPTION
The Remove-AzureStorSimpleDeviceVolumeContainer cmdlet removes a volume container object from a StorSimple device. This cmdlet prompts you for
confirmation unless you specify the Force parameter.
PARAMETERS
-DeviceName <String>
Specifies the name of the StorSimple device on which to the volume container to remove exists.
Required? true
Position? 1
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Indicates that this cmdlet does not prompt you for confirmation.
Required? false
Position? 4
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Profile [<Microsoft.Azure.Common.Authentication.Models.AzureProfile>]
Specifies an Azure profile.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-VolumeContainer <DataContainer>
Specifies the volume container to remove, as a DataContainer object. To obtain a DataContainer object, use the
Get-AzureStorSimpleDeviceVolumeContainer cmdlet.
Required? true
Position? 2
Default value none
Accept pipeline input? true(ByValue)
Accept wildcard characters? false
-WaitForComplete [<SwitchParameter>]
Indicates that this cmdlet waits for the operation to complete before it returns control to the Windows PowerShell????????? console.
Required? false
Position? 3
Default value none
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
DataContainer
This cmdlet accepts a DataContainer object to remove.
OUTPUTS
TaskStatusInfo
This cmdlet returns a TaskStatusInfo object, if you specify the WaitForComplete parameter.
NOTES
Keywords: azure, azuresm, servicemanagement, management, service, store, storsimple
Example 1: Remove a container by using the pipeline
PS C:\\>Get-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -VolumeContainerName "Container08" |
Remove-AzureStorSimpleDeviceVolumeContainer -DeviceName "Contoso63-AppVm" -Force
VERBOSE: ClientRequestId: 0efbb4fc-ceb0-4311-bc49-0e08161d0a37_PS
VERBOSE: ClientRequestId: bf5b615f-47e3-4868-91b6-f2d12217a302_PS
VERBOSE: ClientRequestId: 5590c87e-0602-4197-b6c3-cf58b0e7a7b3_PS
VERBOSE: ClientRequestId: b33c71ac-c345-44ff-8213-d7fdf9f8480a_PS
VERBOSE: ClientRequestId: 903d42ef-58f4-4e89-ba7f-5f234262356d_PS
VERBOSE: About to create a job to remove your Volume container!
VERBOSE: ClientRequestId: 2279575f-5115-4344-9c6f-9ef599bd203e_PS
e9ddec89-67ac-4e2e-a2ed-820de3547bb0
VERBOSE: The delete task is submitted successfully. Please use the command Get-AzureStorSimpleTask -InstanceId
e9ddec89-67ac-4e2e-a2ed-820de3547bb0 for tracking the task's status
VERBOSE: Volume container with name: Container08 is found.
This command gets the volume container named Container08 on the device named Contoso63-AppVm by using the Get-AzureStorSimpleDeviceVolumeContainer
cmdlet. The command passes the volume container to the current cmdlet by using the pipeline operator. This command starts the task to remove the
container, and then returns a TaskResponse object. To see the status of the task, use the Get-AzureStorSimpleTask cmdlet. This command specifies the
Force parameter, so it does not prompt you for confirmation.
RELATED LINKS
Get-AzureStorSimpleDeviceVolumeContainer
New-AzureStorSimpleDeviceVolumeContainer