vCenter vCloud

PowerCLI 5.1 Release 2 Now Available

PowerCLI 5.1 Release 2 has now been released and can be downloaded here.  As always you will find some great new features, bug fixes and enhancements which make PowerCLI even better than before… I know its hard to believe but its true.

VDS Cmdlets

PowerCLI SnapinsWhenever I would ask the question at VMUG’s or VMWorld, “What would you like to see next from PowerCLI” I would always get the same answer “Support for Virtual Distributed Switches!”.

Previously there has been a fling available and also some work created by community member “Luc Dekens” to use VDS, this was a great start but in some cases was not a sustainable solution as it was either not supported or more complicated to maintain or use.

I am now pleased to tell you that PowerCLI has a new snapin, this snapin is called VMware.VimAutomation.VDS and is for managing Virtual Distributed Switches.

Introduced are 14 new cmdlets which will allow you to perform actions against your VDS configuration, we can use the Get-VdsCommand cmdlet to list the new cmdlets.

An overview of these are below:

Cmdlet Name Cmdlet description
Add-VDSwitchPhysicalNetworkAdapter This cmdlet adds host physical network adapters to a distributed switch.
Add-VDSwitchVMHost This cmdlet adds hosts to the specified distributed switch.
Export-VDPortGroup This cmdlet exports the configuration of a specified distributed port group to a specified .zip file.
Export-VDSwitch This cmdlet exports the configuration of a specified vSphere distributed switch to a .zip file.
Get-VDPortgroup This cmdlet retrieves distributed port groups.
Get-VDSwitch This cmdlet retrieves vSphere distributed switches.
New-VDPortgroup This cmdlet creates distributed port groups.
New-VDSwitch This cmdlet creates vSphere distributed switches.
Remove-VDPortGroup This cmdlet removes distributed port groups.
Remove-VDSwitch This cmdlet removes vSphere distributed switches.
Remove-VDSwitchPhysicalNetworkAdapter This cmdlet removes host physical network adapters from the distributed switches they are connected to.
Remove-VDSwitchVMHost This cmdlet removes hosts from the specified distributed switches.
Set-VDPortgroup This cmdlet modifies the configuration of distributed port groups.
Set-VDSwitch This cmdlet modifies the configuration of vSphere distributed switches.

Remember each of these cmdlets has help built in, to access the help including examples of how you might use these cmdlets use the following:

Get-Help cmdletname –full

PowerShell v3 Support

As well as the new cmdlets for working with Distributed switches and all the other great enhancements in PowerCLI 5.1 Release 2 we made sure we listened to our customers and with the release of PowerShell version 3 it seams that a lot of people are already making use or planning to install PowerShell v3.

You will be happy to know that PowerCLI now supports PowerShell v3, this not only gives you support from VMware but also we are now able to take advantage of some of the great enhancements which PowerShell v3 brings.

Some PowerShell v3 examples…

Simplified Syntax… Making PowerShell and therefore PowerCLI easier to read and quicker to type we can use simplified syntax to give us even more English like statements, before we would have needed to use the {} brackets to compare a property, now we are able to type it the same way we would think it…

SNAGHTML26e15701_thumb3

The above simple example shows all virtual machines which are powered on.

vCloud Director 5.1 Support

With PowerCLI 5.1 R2 we have also added support for vCloud Director 5.1, you can now automate the latest version of vCloud director using both PowerCLI and PowerCLI for tenants in a vCloud Director 5.1 environment.

image_thumb2

Comments

213 comments have been added so far

  1. Definitely been waiting for this, so great to see these builtin vDS (or dVS) cmdlets!

    This just made me wonder a bit while browsing the release notes:
    http://www.vmware.com/support/developer/PowerCLI/PowerCLI51R2/powercli51r2-releasenotes.html

    But vCenter 5.1.0b is not on the official list of “supported VMware environments”? I know 5.1.0b only tackled SSO issues (as stated in the release notes), so I thought for a release 2 months later like this, it shouldn’t be excluded while explicitly listing 5.1.0a too.

    Speaking of SSO, I suppose a snapin for managing SSO via Powershell would be nice too.

    1. Thanks for the comment, whilst we have not specifically tested against 5.1.0b we haven’t had bugs caused by VC patch release fixes, so I don’t expect any issues.

      I would be interested in the kind of things you would like to see from an SSO snapin.

  2. Thanks for the comment, whilst we have not specifically tested against 5.1.0b we haven’t had bugs caused by VC patch release fixes, so I don’t expect any issues.

    I would be interested in the kind of things you would like to see from an SSO snapin.

  3. But vCenter 5.1.0b is not on the official list of “supported VMware environments”? I know 5.1.0b only tackled SSO issues (as stated in the release notes), so I thought for a release 2 months later like this, it shouldn’t be excluded while explicitly listing 5.1.0a too.

    1. Hindi Samachar (हिन्दी समाचार) News – पाएं ताज़ा अपडेट और देश-विदेश के हिंदी में ताज़ा समाचार। Get updates with today’s latest Hindi News in Hindi Breaking News

  4. Türkiye’nin 81 noktasına su arıtma cihazları, su arıtma filtreleri, mineralli düş başlığı, sebil aparatı ürünlerimizi adresinize teslim ediyoruz. Uzman ekibimiz ile tüm kurulumlar sağlanarak, cihazlarımız ile sizlere temiz ve sağlıklı su arıtıyoruz.

  5. Hindi Samachar (हिन्दी समाचार) News – पाएं ताज़ा अपडेट और देश-विदेश के हिंदी में ताज़ा समाचार। Get updates with today’s latest Hindi News in Hindi Breaking News

  6. Fotokopi makinesi mi kiralayacaksınız?
    Kiralık fotokopi makinesi ve kiralık yazıcı ihtiyacınızı karşılayacak üstün Japon teknolojisine sahip KYOCERA doküman çözümlerine en uygun kiralama fiyatları ile sahip olabilirsiniz. Sektörünüz ne olursa olsun her bütçeye uygun kiralama fiyatları, gün içerisinde servis imkânı ve dilediğiniz zaman sözleşme fesih hakkı, hepsi ve daha fazlası için bizimle iletişime geçiniz.

  7. Temizlik Bu olarak Adana’da tanıdıklarınız varsa ve bu mesajın ekran görüntüsünü bize WhatsApp üzerinden yollamanız durumunda size Adana kebabı ısmarlarız. Lakin 300 TL ve üzeri hizmet almanız kaydıyla. Saygılarımızla

  8. First off I want to say terrific blog! I had a quick question that I’d like to ask if you
    don’t mind. I was interested to find out how you center yourself
    and clear your head prior to writing. I’ve had a
    tough time clearing my thoughts in getting my thoughts out.
    I truly do take pleasure in writing however it just seems like the
    first 10 to 15 minutes are lost simply just trying to figure out how to begin. Any ideas or hints?

  9. as stated in the release notes so I thought a release 2 months later like this should not be excluded when I explicitly mentioned 5.1.0a as well.

  10. Bazı uzay görevleri bize insan ırkının ne kadar ileri gidebileceğini gösterirken, diğerleri bize üzüntümüzün derinliklerini hissettirdi. Bu olağanüstü uzay görevlerinde yer alan mürettebat ve zanaatkârlar, evrenimizi keşfetmede büyük adımlar attılar ve unutulmayacaklarklar. Uzay Görevi

  11. haber, gündem paylaşımları. Teknoloji hayatın her evresinde var. Peki ya sen teknolojinin neresindesin? Teknolojiyi ve gelişimini gün gün bizimle takip et. Yeni çıkan oyunlar, yeni çıkan sistemler ve daha fazlası…

  12. Solenoid valves, like other valves, have the main effect of controlling and moderating the flow. The solenoid valve will have two alternating inlet and outlet valves. However, the special thing here is that it can use electric current to control the gas.

  13. I require you to thank for your period of this extraordinary read !!! I definitely welcome every last bit of it and I have you bookmarked to take a gander at new stuff of your blog a certain prerequisite read blog!

  14. Useful post thanks. I’m definitely guilty of signing off posts with a conclusion that doesn’t open up the post for debate, which is often something I’d be interested in.
    Do people here think this comes across bad, or do you agree that done correctly is just an innocent way to encourage other folk to comment?
    주소요

  15. Good thing from you.
    I have considered your stuff before and you are so fantastic. I want you
    I really like what I got here. exactly
    I like what you say and the way you say it. You are making it fun and still
    Taking care to keep it wise. I
    Can’t wait to read so much more from you. This is actually a huge site.
    토토사이트모음

Leave a Reply

Your email address will not be published. Required fields are marked *