Enterprise Vault PowerShell command New-EVFSAVolume fails with error 'AmbiguousParameterSet'
book
Article ID: 100033749
calendar_today
Updated On:
Description
Error Message
New-EVFSAVolume : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ New-EVFSAVolume -name FSA -FileServerID 16099A87FDE98B8438474A4D9394E60601z10000 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [New-EVFSAVolume], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Symantec.EnterpriseVault.PowerShell.AdminAPI.NewEVFSAVolume
Cause
This error message is generated if the Enterprise Vault Admin uses different type of parameters in the PowerShell command.
Resolution
In order to resolve this issue, do not mix 'ID' with 'Name' parameters in the command. In the error message above, parameter
-PolicyName was mixed with the following parameters:
-FileServerId,
-VaultStoreId, and
-TaskId causing the error. Use the following syntax to run this PowerShell command:
New-EVFSAVolume [-SiteId
] [-Name] [-FileServerName] [-VaultStoreName] [-TaskName] [-PolicyName] [-DisableArchiving []] [-WhatIf []] [-Confirm []] []
New-EVFSAVolume [-SiteId ] [-Name] -FileServerId -VaultStoreId -TaskId -PolicyId [-DisableArchiving []] [-WhatIf []] [-Confirm []] []
For more details about the PS command New-EVFSAVolume, please refer to the following article:
Issue/Introduction
Enterprise Vault PowerShell command New-EVFSAVolume fails with error AmbiguousParameterSet when an administrator tries to add a new FSA volume.
Was this article helpful?
thumb_up
Yes
thumb_down
No