Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 176561

Checking for configured subnets

$
0
0

My company keeps a separate database of avaible IP's from which VMs are to utilize. The problem is that there is a delay between what subnets are contained in the database and what has been actually configured in VSphere.  I essentially want to write a script (which I will post) that requests an IP address and mask, verifies that it is an acceptable input, and determines if the subnet exists within the switches configured.  What cmdlet will allow me to get the list of actual subnets?  I have looked into get-virtualswitch but it does not seem to yield the info I am looking for.


Viewing all articles
Browse latest Browse all 176561

Trending Articles