Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 8743

Looking for python code to set vlan id using WMI on newly added network

$
0
0

Hi,

I have got the sample script @(https://github.com/rrader/hue-build/blob/master/sandbox/hypervv2.py ) in python using WMI to create vm, set Memory, set cpu, add vhd and add network, but not able to find how to add vlan.

I am new to WMI api and not able to figure out how to use api to set vlan id.

It will great help if you provide example or sample how to set vlan id.

Thanks in Advance


Viewing all articles
Browse latest Browse all 8743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>