Configuring vSphere network I/O control

Configuring network I/O control in the vSphere environment is a great way to control and ensure quality of service for different types of traffic. Though there is no direct cmdlet available to enable and disable network I/O control using PowerCLI, we can do so using the vSphere APIs using PowerCLI. We can get a list of all the methods and properties available in the VDSwitch object by inspecting the ExtensionData option of the object. In the following screenshot, we can see that there is an EnableNetworkResourceManagement method associated with the object that takes a $true or $false Boolean input, which decides whether NetworkResourceManagement will be turned on or off.

Tip

We will see how we can access APIs ...

Get Mastering PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.