Veritas Enterprise Vault™ PowerShell Cmdlets
Remove-EVFSAFolder
Remove-EVFSAFolder removes the specified folder from Enterprise Vault configuration. You are prompted to confirm the removal of the folder. Make sure that you stop the File System Archiving task that processes the file server volume before you run the cmdlet.
Remove-EVFSAFolder is provided by Symantec.EnterpriseVault.PowerShell.AdminAPI.dll, which is loaded by the Enterprise Vault Management Shell.
Remove-EVFSAFolder [-SiteId <string>] [-FileServer] <string> [-Volume] <string> [-FolderRelativePath] <string> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Remove-EVFSAFolder [-SiteId <string>] -Identifier <string> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Table: Remove-EVFSAFolder parameters
Parameter | Description |
---|---|
-FileServer (required) | The fully-qualified DNS name, UNC name, alias name, or entry ID of the file server that hosts the folder. The name should be the same as the name that was used when you added the file server, or the name that the Administration Console displays. You can use Get-EVFSAFileServer to obtain the file server name. You can specify the UNC name with or without the \\ prefix and you can specify either the hostname or the alias as the UNC name. Parameter aliases: FileServerDNSName, FileServerName, FileServerId. |
-Identifier (required) | The path of the folder that you want to remove, in the following format: \\file server name\volume name\folder relative path |
-Volume (required) | The name or the entry ID of the file server volume that hosts the folder. Parameter aliases: VolumeId, VolumeName |
-FolderRelativePath (required) | The relative path of the folder that you want to remove. Parameter alias: FolderName |
-SiteId | The ID of the Enterprise Vault site in which the file server volume is configured. If you omit this parameter, Remove-EVFSAFolder uses the ID of the site of the Enterprise Vault server where the cmdlet is running. You can use Get-EVSite to obtain the site ID. |
-Confirm | Prompts you for confirmation before running the cmdlet. To suppress the prompt, type -Confirm:$false. |
-WhatIf | Shows what would happen if the cmdlet runs. The cmdlet is not actually run. |
Remove-EVFSAFolder -FileServer \\abc -Volume volume1 -FolderRelativePath folder1
or
Remove-EVFSAFolder -FileServerName \\abc -VolumeName volume1 -FolderRelativePath folder1
or
Remove-EVFSAFolder \\abc volume1 folder1
or
Remove-EVFSAFolder - FolderPath \\abc\volume1\folder1
OR
Remove-EVFSAFolder - Identifier \\abc\volume1\folder1
Removes the folder 'folder1' from the file server volume 'volume1' that is configured on the file server with UNC name '\\abc'.
Remove-EVFSAFolder returns no output.
See Get-EVFSAFolder.
See New-EVFSAFolder.
See Set-EVFSAFolder.