Get-VDSwitch-name of the issue with 1000v

I'm running on U2 5.0 ESXI and Vcenter 5.0 U2

Get-VDSwitch only lists my switch:

Get-VDSwitch

NumPorts Mtu Version seller name
----                           --------   ---        -------  ------
VSM02 6144 4.0 Cisco Systems Inc..

VSM03 6144 4.0 Cisco Systems Inc..

When I try to get just the specific swith I get this error. It indicates that the type is a string

Get-Vdswitch VSM03

PowerCLI C:\Program Files\VMware\Infrastructure\vSphere PowerCLI > Get-VDSwitch-name of the "VSM03".
Get-VDSwitch: 14/02/2013 09:03:26 impossible object type cast Get-VDSwitch
'VMware.Vim.DistributedVirtualSwitch' to type 'VMware.Vim.VmwareDistributedVirtualSwitch '.
On line: 1 char: 1
+ Get-VDSwitch-name of the "VSM03".
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (:)) [Get-VDSwitch], VimException)
+ FullyQualifiedErrorId: Core_BaseCmdlet_UnknownError, VMware.VimAutomation.Vds.Commands.GetVD
Switch

Get-VDSwitch: 14/02/2013 09:03:26 Get - VDSwitch VDSwitch with the name "VSM03" was not
found using the specified filters.
On line: 1 char: 1
+ Get-VDSwitch-name of the "VSM03".
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: ObjectNotFound: (:)) [Get-VDSwitch], VimException)
+ FullyQualifiedErrorId: Core_OutputHelper_WriteNotFoundError, VMware.VimAutomation.Vds.Comman
DS. GetVDSwitch

Just leave the parameter DistributedSwitch.

Get-NetworkAdapter - VM $vm | Together-NetworkAdapter - Portgroup $portgroup

You got this highest $portgroup in the script and he implicitly knows what VDSwitch it is connected to.

Tags: VMware

Similar Questions

  • Impossible to download avast antivirus get message... the connection with the server has been reset

    I have a laptop Samsung RV510 with windows 7, need a free antivirus software

    try to download avvas as wel as AVG

    Get message afte a vew of download twinks... Impossible to download avast antivirus get message... the connection with the server has been reset

    Help, please

    Other downloads, for example widows day running ok?

    You download from the site of decision makers or one of the other indirect sites?

    MSE of MS is free

    http://Windows.Microsoft.com/en-GB/Windows/Security-Essentials-download

  • How to change the name of the attribute with ALTER TYPE?

    I have a question. How can I change the name of the attribute with ALTER TYPE? example:

    CHANGE the type of ATTRIBUTE to CHANGE type_attribute...

    What should I put in «...» "to change the attribute name?

    Thank you...

    What should I put in «...» "to change the attribute name?

    You can not. You can change the data type.

    You can delete and recreate the attribute:

    ALTER TYPE type DROP ATTRIBUTE type_attribute;
    ALTER TYPE type ADD ATTRIBUTE new_type_attribute data_type;
    

    Max

  • How to get "Display Name" of RAW LUN with PowerCLI

    Hello

    I have a question:

    We have several RAW LUN and I changed the name to display in vCenter.

    How can I get all the changes in output in a CSV with PowerCLI?

    Thank you very much

    Try like this

    $esxName = "MyEsx."

    Get-VMHost-name $esxName | Get-ScsiLun - LunType disc |

    Select @{N = "DisplayName"; E={$_. ExtensionData.DisplayName}}, CanonicalName, RuntimeName

  • Pavilion P6-2302eam: original names of the parties with regard to HP

    Hi I'm trying to make sure when I get my new i5 CPU that I just upgraded my graphics card GTX 750Ti. That my system has enough power? by using pcpartpicker, but for many that the component can't name, such as memory, as he says 4-2 gb, that I chose to Kingston and also a hard drive think I used Western Digital 1 TB, but the name of the case, I fight like just said Mini-Tower set HP Pavilion nothing comes? And a few other items not sure of the name as if I put part number opens no results. Thank you

    Thank you for the additional information.

    HP has his case made by different manufacturers.  So, the only information available is the following:

    • Height: 36.8 cm (14.4 in)

  • How can I get my name from the access point?

    Since I bought a modem Arris 228 G and spent my 2 wireless, printers Canon WIFI unable to connect at Optimum!

    Canon said to contact my router creator (Apple Airport Extreme) for the name of the access point get return wireless, WI - FI printers.

    Help, please.

    W.W.

    (Mac Pro 10.6.8)

    The name of the access point is simply the name of the wireless network that provides AirPort Extreme.

    You can see the name of your wireless network by clicking on the WiFi icon at the top of the screen of your Mac and by checking that the name appears.

    There will be a check mark next to your wireless network name.. which is also known as a wireless access point.

    It would be the same name that you had before... unless you have changed some settings on the AirPort Extreme.

  • Name of the file with the worksheet

    Hi, I have save data with 'Write to spreadsheet' and I know I can save in a file created with a path or create a new.

    I need name and create a file for each day of automaticlly. If it is Monday, the file name will be Monday and save the data of the Nations United this file.

    How can I do?

    If you use the entry in the spreadsheet file, you do not use the open/create file.  Use the path to build to add the name of the file in the desired folder and wire the new path to writing to VI spreadsheet file.

  • To compare the name of the control with a variable

    Hi all

    I want to compare the name of a control with a variable in a loop. Is there any function for it in Labview? Please let me know if it is.

    Thanks in advance


  • View the issue with a DVI-I got splitter to Dell Optiplex to adapt TV

    Good evening!

    I work in IT and my understanding of these things is superior to what a novice and a part of the reasons why this question is so frustrating. It should also be noted that I am also posting this in Dell support forums to cover all the bases.
    Here is my goal:
    To use my model of TV LED Panasonic TC-L47e5 as my primary and only monitor for a Dell Optiplex 745
    My configuration:
    Dell uses a DVI-I've got splitter (DVI & VGA) as she went out to monitoring devices. I use a DVI (male) to HDMI (female) to connect on one of my HDMI inputs on the TV.
    The problem:
    Until I'm the adapter to the DVI, I used the VGA with no issues whatsoever. However, once I plugged the DVI - HDMI setting, it was working fine until I unplugged the VGA it is connected to the connector on the back of the TV. The screen went black, even though it was on the HDMI input. I tried to update the drivers, configuration of the display settings, etc and nothing allows me to run the installation of DVI-HDMI without going through the connected VGA also. If I switch back to the VGA input on the tv I see black. But if I unplug the HDMI, I see the desktop. It's very strange, but it seems that thought the VGA adapter display takes over, which is insane, because the pc shows through a DVI - I connection separation. I scoured the internet for a solution and this little hiccup is driving me crazy. Any help you all can provide is greatly appreciated.
    Thank you!

    Hello Hunter M.

    Welcome to the Microsoft community.

    You need a video cable to make the physical connection. For a better image quality, you must connect to the computer to the TV using standard VGA ports or via DVI to HDMI cable provided your TV supports these ports.

    I suggest to disconnect the HDMI cable and try to connect it buy, follow these steps.

    1. Turn off your computer and place it near your TV. Unplug the monitor, but leave the mouse and keyboard connected.
    2. Connect the video cable appropriate to your computer's output to your TV.
    3. Turn on your TV and set it to the input that matches the output on your computer. You may need to refer to the supplied with your television user's guide for instructions on how to do it.
    4. Turn on your computer.
    5. You should see windows displayed on your TV. If the screen looks stretched, or part of the screen seems cut off, you will probably have to adjust the screen resolution in Windows.
    6. If Windows is displayed on your TV, you will need to reconnect the computer to your monitor and adjust the screen resolution before connect you to your TV.

    See also:

    http://Windows.Microsoft.com/en-CA/Windows/connect-computer-TV#1TC=Windows-7

    I hope this helps. Feel free to write us again for any further assistance.

  • Driver power state failure - cannot determine the issue with the driver

    I had this problem for a long time, since the upgrade to Windows 8 beta, did not happen on Windows 7. WIN8 (clean install), 8.1 and 10 technical preview all do the same thing. I get the BSOD with a message about the failure of State driver, and my system restarts. It happens a few times a day. I noticed a few times, my devices Sata work stop shortly before the accident, sometimes apps are block just before, but not always. No index than that. Help, please! TIA!

    Empty the file: https://onedrive.live.com/redir?resid=984652FADD494F38%21315502

    ZARNet

    This phenomenon was related to the storage IDE ataport.sys driver.  I also notice that you have a 2009 jriad.sys driver.  I remove the 2009 driver and perform an audit to systemf on BONE Island, but it can be associated with HD and not driver related, which would explain why it happened in all OS' are

    Please run a check of system files (SFC) & DISM if you're on win 8 or higher 


    All instructions are in our Wiki article below...
    If you have any questions please ask us for .

  • How to see the file name of the document with the full path when you move mouse title bar?

    PS CS6 using, Windows 7 x 64.

    I was under the impression that when my mouse hovering over the title bar of the document, I would see a ToolTip showing the full file name, including the path.  This isn't the case and I wonder if there is a way to do it.  I know that I can click on file > save as, or Ctrl-Shift - S to see the full path, but hoving over the title bar would be easier.  (What I now see in the ToolTip is the name of the file, % magnification and layer that I selected.)  Basically, the ToolTip is showing just what is in the title without hovering bar.)

    Thank you!

    John

    AHA, I think it's a view tabbed vs thing windowed mode...

    I do not think that trying to change the way you manage your documents, well that--most people like one way or the other and stick with it.

    -Christmas

  • How to change the name of the layer with Wacom stylus?

    Someone at - it just good advice on that?

    50% of the time that I do this menu style come to the place.

    With the mouse, no problem, with Wacom pen, it isn't the case.

    I don't see an option to right click to change the name of the layer, maybe I'm not? This would help a lot. Thank you!

    You're not alone: http://feedback.photoshop.com/photoshop_family/topics/photoshop_hit_area_for_double_click _ to_change_layer_name_is_too_small_cs3 see the solution out there and also maybe vote for this possible solution: http://feedback.photoshop.com/photoshop_family/topics/allow_renaming_of_layers_in_layer_st yles_dialog

  • ProRes to H.264 Blu - Ray, then get an overview of the problems with Encore CS5

    Hi all

    I've been holding Media Encoder CS 5 90 minutes or so ProRes 422 (29.97 interlaced) QuickTimes and create Blu - Ray H.264 files for use in Encore CS5.  I use the maximum of 1080i quality setting and adjusting so that the target bit rate is 25mbps and max is 30.  By 2-pass VBR.

    The issue I'm having is when I import these files into Encore CS5 and then preview them on a timeline they are artifacts in all directions.  They look like my cable signal when it breaks upward, except through the whole program.  I have re-transcoded in Media Encoder and am having the same problem.  I also tried transcoding in Encore (which is really the same thing), and it still persists.  I did not a BD - R again to check it and I know that the preview in Encore CS 5 is very buggy.  But I wonder - someone ' one run in this?  Is this just a preview issue, or is there something really wrong with him transcode?

    Also, if anyone has a tip for where I can open the file *.m4v out Media Encoder so that I can check them somewhere else in again would be great.  VLC Player does not, nor does QuickTime.  Thank you all!

    Best,

    JD

    Compressor didn't start to make videos compatible h.264 Blu - ray up to version 3.5. Videos in h.264 Blu - ray made in the compressor before 3.5 are not compatible Blu - ray, fail strict checking of yet and must be re-encoded.

    If you are using Compressor 3.5 or newer, your Blu - ray h.264 files will import still very well and will not be re-transcoded.

  • Name of the folder with caps in office disappear!

    Hello

    When I create a new folder in the desktop (win 7) named MARIA J, it disappears from the desktop! I tried in office different windows 7 and it's the same problem. Anyone can try to create a new folder in office calling MARIA J and you will see the magic disappears. I think it's a bug in windows 7 and I would like to ask microsoft to sort. Microsoft should give me rewards to this kind of problem :)

    Thank you

    Adil

    Hi Adil,

    Thank you for keeping us posted.

    I appreciate all your efforts really to try to solve this problem.

    To diagnose the issue in the new user account, I suggest you try to re-create the issue in the new user account and check if that helps.

    Create a user account

    http://Windows.Microsoft.com/en-us/Windows/create-user-account#create-user-account=Windows-7

    Security, privacy & accounts

    http://Windows.Microsoft.com/en-us/Windows/Security-Privacy-accounts-help#security-privacy-accounts-help=Windows-7&V0H=win8tab1&V1H=win8tab1&V2H=win7tab1&V3H=winvistatab1

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • the issue with ME

    I have 100 sequences from 3 minutes to the Premier Pro, I need to export, I have usually run it via Media Encoder from one day to the next but pose with transitions and keyframes (for example in the blur effect) restores do not smoothly. When I export by the Prime Minister, it is absolutely perfect. The setting is exactly the same. But when I export it through ME, the fades and transitions between the effects (in particular the Gaussian Blur) doesn't run as smooth as it should. I experimented with a few different settings, codecs and searched the Internet without success. I don't want to first export directly because I will need to do the same with 100 videos in the future. All my software is up-to-date.


    I know there have been problems with Media encode recognizing the effects of the lumetri, etc., but this seems to be something different.

    Can anyone help?


    Thanks Ash

    In the SOUL, go to Edition > Preferences > general and turn sequences natively import.

Maybe you are looking for

  • Satellite A200 - no lights, no fans

    Hello world I have a toshiba satellite a200-244, and after about 15 months of use it allows to turn off his own time. I have half of heart sought the problem but could not get through to the main problem that I discovered later was dust in the coolin

  • Siri Option not available

    Just bought an iPad running IOS 9.2.1 3. In the General settings, I see no Option Siri nor I see the Option dictated in the keyboard settings. Restrictions is set to Off. I don't know this model iPad (MD-368C/A) IS compatible with Siri. Should Siri b

  • Problem in reading the PWM signals in myRIO 1900

    Hi guys,. I work with myRIO to generate PWM pulses. Here is the block diagram of my circuit. I connected external to the analog input pin PWM pin. So I can watch the PWM pulse in the waveform table. But the waveform is not clear. This is as shown in

  • System restarts when I plug my webcam

    original title: problem with webcam pluge When pluge my webcam usb pc restarts how can I solve this problem?

  • Microsoft wireless desktop for v8.0 transmitter/receiver 2.4 ghz 800 drivers

    Come on, microsoft Wireless 2.4 GHz TRANSCEIVER v8.0 800 office, running xp pro on pc and installation wizard application software to support all. Anyone got any idea what & where I can acquire. Thanks in advance. Ken