Virtual lab is not creating through PowerShell for Veeam 10. I am getting the below error while creating a virtual lab through PowerShell in vSphere 7.0.
Add-VBRViSimpleVirtualLab : Failed to add virtual lab. Specify both NetworkMappingRule and NetworkOptions parameters.
I split your question from the other topic. Please use new ones if it's not related to the other question.
For your question. The error message is telling you to specify NetworkMappingRule and NetworkOptions parameters.
That doesn't sound like adding a simple virtual lab. It looks like powershell is trying to add an advanced virtual lab. Do you see the same error if you try the example in our userguide? https://helpcenter.veeam.com/archive/ba ... allab.html
Please also consider to upgrade to V12. V10 is an old version of Veeam Backup & Replication.
You can upgrade if you are running V10a already.
The exception refers to the parameters that don't exist in Add-VBRViSimpleVirtualLab signature. However, the validation for these parameters is present in the cmdlet code, which doesn't make sense to me. I'll discuss it with Dev/QA and follow up the thread. Thanks
Sorry I was looking for experts replies from last week itself, Since I haven't got any replies, I have posted my question on other Virtual lab-related topics.
By the way we cant upgrade to latest Veeam version (V12) without client request, Also it needs some downtime. So we cant upgrade it right now.
As I anticipated, we confirmed it as a bug. To be fixed in the next release. Can't say for v10, but in my v11 lab the same code works perfectly. Was this code working with the same VBR version before? Have you updated/changed anything in the infrastructure since the time this code was working?
Thanks for your reply and Confirmation. Your reply really helpful for me & Means a lot.
Yes, it worked perfectly earlier in the same setup. Recently only facing this issue. We have already tried with advance virtual lab creation cmdlet. Since it was not working, We tried with Add-VBRViSimpleVirtualLab which was suggested by veeam officals like you.
If its not possible in v10, Can I get one email from any Veeam official like its not possible to create Virtual lab in v10 through Powershell. Then it means a lot for me. I can share that email to my client.
It doesn't mean it's impossible. It means that we're yet to find out what's causing the issue. I'll follow up the thread once I find out a possible reason for this error.
So this exception is thrown in cases when we cannot resolve default network settings for your virtual lab. It most likely means that you need to use advanced configuration and pass them manually. But it should work. Is the client also experiencing this issue when creating a virtual lab, either simple or advanced, through the UI?
In below link I have noticed, Add-VBRViSimpleVirtualLab and Add-VBRViAdvancedVirtualLab not woking in v10 & v11. It got fixed in v12. If its not possible in v10 can I got only one email its not possible in v10.
If its possible in v10 please let me know which way I have to follow.
I am in hurry to close this task. Please let me know.