To display a list of commands and subcontexts that you can use within a context, at the netsh prompt, type the context name, and then type either /? or help. To run a netsh command, you must start netsh from the Cmd.exe prompt and change to the context that contains the command you want to use. In my experience, the best way to get help is from Netsh context help. I did not remember the details how could I find out quickly? I knew Netsh command can be used to configure IP address, default getaway and DNS servers.
I was working on a PowerShell/PowerCLI script to build a VMware VM from a template, assign IP address, default gateway, DNS, join it into the domain and install some software.