|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NaHostVolume
NAME
Remove-NaHostVolume
SYNOPSIS
Remove a Windows volume from a disk.
SYNTAX
Remove-NaHostVolume [[-Path] <String>] [-Reclaim] [-Force] [-WhatIf] [-Confi
rm] [<CommonParameters>]
Remove-NaHostVolume [-VdsId] <Guid> [-Reclaim] [-Force] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Remove a Windows volume from a disk.
This cmdlet must be run with administrative privileges.
PARAMETERS
-Path <String>
The mount point (i.e. G:, \\?\Volume{12345678-abcd-1234-abcd-1234567890a
b}\) or a path to any file on the volume to process
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Reclaim
Free any blocks formerly occupied by the volume
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force
Continue even if volume is in use. This might cause unexpected errors in
any application using this volume.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VdsId <Guid>
The Guid object which uniquely identifies the volume in VDS. Note that
this is not the same as the volume guid path.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
NOTES
Category: host
-------------- Example 1 --------------
C:\PS>Remove-NaHostVolume J:\
Remove the J:\ volume from its parent disk.
RELATED LINKS
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|