Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

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 using PowerCLI in the upcoming chapter in detail. For now, we will just touch upon the subject.

So, we can enable or disable network I/O control by simply using the following method:

PS C:\> (Get-VDSwitch -Name Test1).ExtensionData.EnableNetworkResourceManagement...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath