PowerShell script exchange
Post Reply
sbrissen
Novice
Posts: 5
Liked: never
Joined: Apr 27, 2017 12:20 pm
Full Name: Scott Brissenden
Contact:

Powershell Surebackup ProductionNetwork -"Wrong IP address"

Post by sbrissen »

I am trying to script the creation of the Surebackup Virtual Lab. I just want the Basic set up but I cannot get the network to work. When I run the command:
> add-VSBVirtuallab -Name "TEST LAB" -server $server[0] -datastore $datastore -Productionnetwork $network
It returns:
Add-VSBVirtuallab : Wrong IP address ''
At line:1 char:1
+ Add-VSBVirtuallab -Name "TEST LAB" -server $server[0] -datastore $dat ...

My guess is because the powershell cmd only allows the use of virtual switches, not dv switches, and my virtual switch network does not have a dhcp server on it, it fails to receive an address and the command fails. So I am wondering A. is this assumption correct? and B. can I assign a static address via powershell like I can in the gui?
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests