ChristopherGLewis / ZertoModule

Powershell Module to wrap the Zerto REST API
BSD 2-Clause "Simplified" License
14 stars 13 forks source link

Add-ZertoVRA #10

Open as918 opened 6 years ago

as918 commented 6 years ago

https://github.com/ChristopherGLewis/ZertoModule/blob/a7f11dbc4bc2b983d66363188d67b7f7401e76e8/ZertoModule/ZertoModule.psm1#L4124

When running the Add-ZertoVRA command. A new VRA is deployed as expected. However, the below message also appears.

Write-Verbose : Cannot bind argument to parameter 'Message' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\ZertoModule\1.0.8\ZertoModule.psm1:4124 char:23
+         Write-Verbose $NewVRAJson
+                       ~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Write-Verbose], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.WriteVerboseCommand