VMware Cloud Community
ChrisROI
Enthusiast
Enthusiast
Jump to solution

Testing Multiple New Networks

Hi,

if we setup a new network in our environment, we testing the connection by installing a new VM with a small Linux destribution.

On this VM we testing every new network connectivity by pinging the gateway.

 

Now, I have to test about 80 new networks...

Is there a better way, (a powercli way) to do this?

 

Greetings

Chris

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

That would be an option 😁

The Invoke-VMScript cmdlet works in most cases, but there are some cases where it doesn't.
That was one of the reasons I wrote that function.

There is a V3, see Invoke-VMScriptPlus v3


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

4 Replies
LucD
Leadership
Leadership
Jump to solution

You would still need to have a VM deployed on that network.

When that VM has the VMware Tools installed, you could automate the testing via the Invoke-VMScript cmdlet.
With the returned response you can determine if the network is OK or not.

If you have to do this for multiple networks, you can do this in a loop over all the new networks.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

ChrisROI
Enthusiast
Enthusiast
Jump to solution

Thank you Luc,

ah Invoke-VMScript, then this would be the perfect opportuity to run your Invoke-VMScriptPlus v2 🙂 I think

 

https://www.lucd.info/2018/08/05/invoke-vmscriptplus-v2/

 

 

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

That would be an option 😁

The Invoke-VMScript cmdlet works in most cases, but there are some cases where it doesn't.
That was one of the reasons I wrote that function.

There is a V3, see Invoke-VMScriptPlus v3


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

ChrisROI
Enthusiast
Enthusiast
Jump to solution

Thank you Luc,

Invoke-VMScriptPlus v3 works fine for me 🙂

 

 

Reply
0 Kudos