since scripting is not covered by support policy I have no case ID.
Because my virtual lab configuration crashed several times and I had to create some labs from scratch, I want to start scripting my virtual lab configuration. I've awaited virtual lab scripting a long time and with version 10 it's available. If I run Add-VBRViAdvancedVirtualLab I get an error:
Code: Select all
Add-VBRViAdvancedVirtualLab -Name $name -Server $esx -CacheDatastore $datastore -ProxyAppliance $appliance -NetworkOptions $networkoptions -NetworkMappingRule $mapping -EnableRoutingBetweenvNics -IpMappingRule $staticmapping -Force
Add-VBRViAdvancedVirtualLab : Object reference not set to an instance of an object.
At line:1 char:1
+ Add-VBRViAdvancedVirtualLab -Name $name -Server $esx -CacheDatastore ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-VBRViAdvancedVirtualLab], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,Veeam.Backup.PowerShell.Cmdlets.AddVBRViAdvancedVirtualLab
Thanks, Daniel.