-
Notifications
You must be signed in to change notification settings - Fork 4
Description
HI, I am trying to use Add-CaasBackupClient command however when I try to use the email address I get the following error message.
Command
$link = Add-CaasBackupClient -Server $server -StoragePolicy $stoPolicy -SchedulePolicy $schPolicy -ClientType $clientType -Trigger ON_SUCCESS_OR_FAILURE -EmailAddresses [[email protected]]
Error
Add-CaasBackupClient : Cannot bind parameter 'EmailAddresses'. Cannot convert the "[[email protected]]" value of type "System.String" to type
"System.Collections.Generic.IReadOnlyList`1[System.String]".
At line:1 char:170
- ... e -Trigger ON_SUCCESS_OR_FAILURE -EmailAddresses [[email protected]]
-
~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidArgument: (:) [Add-CaasBackupClient], ParameterBindingException
- FullyQualifiedErrorId : CannotConvertArgumentNoMessage,DD.CBU.Compute.Powershell.AddCaasBackupClientCmdlet
Other trials
I have also tried different formats of the email address, however they all error
@([email protected])
@("[email protected]")
"[email protected]"
["[email protected]"]
[[email protected]]
Any help would be appreciated.
Thanks.