|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Remove-NcHostFile
NAME
Remove-NaHostFile
SYNOPSIS
Delete a file, completely reclaiming all of the space it consumed on the sto
rage controller.
SYNTAX
Remove-NaHostFile [-FullName] <String> [<CommonParameters>]
DESCRIPTION
Delete a file, completely reclaiming all of the space it consumed on the sto
rage controller.
The file to be deleted must be specified with a fully-qualified path that re
sides on a Data ONTAP LUN or Data ONTAP CIFS share. Cluster-shared volumes
(CSVs) are supported. Administrator privileges may be required to use this
cmdlet.
PARAMETERS
-FullName <String>
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-NaHostFile j:\test.vhd
Delete the file 'j:\test.vhd' after reclaiming all of the space it consumed
on the storage controller.
RELATED LINKS
New-NaVirtualDisk
Get-NaHostDisk
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|