PowerShell readings are so slow

Greetings-

I'm new to the cmd - allows VMware Powershell and have studied this but have not found much.  I find that doing a simple search VM:

$VMName = Get-VM | {$_name eq - $Entry.MachineName}

Can take up to a minute to return the value.  Is there a better way to do this?  I currently have only 650 VM in my system virtual center but that will increase to more than 3,000 people this coming year.  I suppose that if I made this request while "next to" the VC box it may be faster, but unfortunately I do it work on a 500 k WAN link (via VPN at home).  I haven't done an analysis of the packets, but I'm guessing that get - vm is pulling through clear text soap each entry until he finds what he's looking for.

Thank you

The Get - Vm cmdlet is indeed very slow.

Take a look at speed by using Get-VM vs Get-viewin that thread Andrey (one of the developers of the VITK) and Carter (product manager for the VITK) gave some comments.

Tags: VMware

Similar Questions

  • Sharing network of Windows 7 64-bit problem: other machines may very well write, but the readings are extremely slow.

    I tried to access to the shared both directory a Vista and XP machine via cable connections and wireless to my Win 7 64 bit machine on the part and it is extremely slow to read, but not written.  Not only the directory never takes show all thumbnails, and then open a file that is a couple mb in size as a photo takes more than a minute.  However, if I try to write the same file sharing, it takes only 5 seconds.  This fine all worked until I went from the version release candidate for the final version a few weeks ago.  Shared directories exist on another partition for the relocation does not have their effect.

    Maybe it helps diagnose the problem... I just make a copy of a picture of 4 MB on the part of win 7 on my win xp desktop and it took about 1 minute.  I renamed the file on my desktop and tried to write to the share and it took 5 seconds .  Now, it's strange.  So, this is the bed that would take forever.  The Scriptures are fine, which also explains why my nightly backups on the part of win7 are very good.

    I have a machine to hit the share by using the name of the computer and the other using the ip address.  Both show the same problem...

    I also tried to access files using a mapped network drive.

    I can take a 4 MB file and just copy it on my local desktop and it takes about a full minute.  However, written the same file or even another file of the same size as the part only takes about 5 seconds.

    I ran the Windows 7 network troublshooter last night and used the troubleshooter for incoming connections and he says that it found a problem but that he could not fix and he really had nothing to help me.  But I think he sent the information in Microsoft... not sure.  Next time, I'm at home, I'll run again and try to put all the gross results that I could not understand in this thread.

    I've also updated my driver for the network card and redone permissions and actions several times.  The only thing that I can also say that something can highlight, it is that when I was using the RC of windows 7, I don't have this problem at all.  It was my first installation of Windows 7.  I reinstalled from the final version and all of these files already exist on another partition on the same drive.  I just had to move my public and directories user space on the D: partition and share everything.  Maybe the new facility with something on the existing structures of the file works well with the new facility of the former?  But this does not explain why a new directory and file that create displays the same behavior.  I'm thinking out loud a bit to see if it helps that anyone think that anything...

    I thought about it!

    At least for me, it was a setting in the Advanced tab of the network adapter.  I have a Realtek Gigabit network card and one of the places must have been missed incorrectly.

    I changed the 2 following settings to "disabled", and he immediately started working very well.

    Disabled IPv4 Checksum Offload
    People with disabilities large send Offload (IPv4)

    I have a suspicion that among recent updates of Microsoft for this driver he missed bad... but it was this or the latest driver from Realtek.

    Update:

    In other research I have narrowed it down to make it just the Large Send Offload value.  Is located on "activated" whenever I update the driver Realtek to the latest version.  If I then go and set it to "Disabled", everything works fine.

  • WHEN I PLAY GAMES ON FACEBOOK, ILS ARE REALLY SLOW

    WHEN I PLAY COLLAPSE, TREASURE ISLE, GARDEN OF TIME OR ANY OTHER GAME ON FACEBOOK, ILS ARE REALLY SLOW SO I GO ON INTERNET EXPLORER, WHICH IS NOT WHAT I LOVE...

    -Open Firefox and select 'Help' on the top line. In the menu drop down select "Restart with disabled modules", this opens up Firefox in Safe Mode (Safe Mode to clean Firefox, not Windows Safe Mode).

    -Place a tick in "reset all preferences default Firefox user" and then click "make changes and restart".

    See more in issues to troubleshoot Firefox in Safe Mode

  • SideWinder x 8 mouse. The games are really slow and jumpy.

    I just installed a Sidewinder x 8 mouse. The mouse works fine but when I try to play games that they are really slow and jumpy. They work fine when I switch to my original mouse. I have Windows Vista, my system processor clocked at 1.6 GHz and 1024 MB of memory. What should I do to get the games working correctly? The games I play are ones on King.com

    Hi Pod1987,

    Welcome to the Microsoft Answers site.

    We would like to get a better understanding of this issue, so we can better help not only you but other users with similar problems.

    (a) you are able to play other games other than those of king.com online using your Sidewinder x 8 mouse?

    (b) what version of Vista are you using? (32-bit or 64-bit)?

    Step 1:

    For the 32-bit version of Vista. Download and install the software for the mouse Sidewinder x 8 on the site mentioned below.

    http://www.Microsoft.com/hardware/download/DownloadResult.aspx?category=gaming&type=mouse&name=3HA-00001&OS=WVista_32&lang=en

    For the 64-bit version of Vista. Download and install the software for the mouse Sidewinder x 8 on the site mentioned below.

    http://www.Microsoft.com/hardware/download/DownloadResult.aspx?category=gaming&type=mouse&name=3HA-00001&OS=WVista_64&lang=en

    Step 2:

    Mouse SideWinder x 8 if used to play the high end so games I suggest you to update the Flash player on the Web site of the Adobe Flash Player. Click on the link below.

    http://get.Adobe.com/flashplayer/

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • My sliders in CC are very slow and not even sliding at all still holding show my setting. And my crop is also slow and freezes even what I do!

    My sliders are very slow and not even sliding at all still holding show my setting. And my crop is also slow and freezes even what I do, I need help it is too slow to change this way!

    Hi lakenm,

    Please turn off the GPU in the Lightroom preferences

    Steps to follow:

    Go to preferences

    Click the performance tab

    Uncheck the GPU

    Restart the Lightroom

    Let us know if it helps.

    Kind regards

    ~ Mohit

  • VM with l.o. xp 32-bit and Windows 2003 are very slow

    Hi all
    expose the problem


    I installed esxi5.1 Server poweredge r715 ADM Opteron 6238 processor. the bios of the server is upgraded to the latest version 2.9.0

    VM with l.o. xp 32-bit and Windows 2003 are very slow and found to have 100% of the CPU.

    This problem also happens with the new machine virtual and not only moved to another computer virtual infrastructure.

    Support DELL has verified the server BIOS settings and it's ok

    Thank you

    Mr. Nelli

    This BIOS version introduces a few new States C. can you check that your power supply is set to 'Maximum Performance' and that you have disabled C1E.

  • Exp and Imp are very slow

    We have a system in version 9.2.8 leagcy and export and import are very slow. It takes almost 3 hours to 30 GB of data. Is there a way we can do it quickly? HELPPP me.

    EXPORT:

    Set the buffer setting to a high value (e.g. 2Mb - entered as an integer "2000000")
    Set the RECORDLENGTH parameter to a high value (e.g. 64 KB - entered as an integer "64000")
    Use DIRECT = yes (direct mode export)
    Stop unnecessary applications to free resources for your work.
    If you run multiple sessions of export, ensure the different physical disks, write.
    Do NOT export to a mounted NFS filesystem. It will take forever.

  • 23.0.1 Firefox crashes a lot. My internet, including Facebook and Facebook games are extremely slow and my whole hanging system.

    Since I installed Firefox 23.0.1, I had a lot of problems. Firefox is very slow to open and breaks down several times a day, especially if I'm on Facebook. The internet, including Facebook and Facebook games is very slow. When Facebook updates, it's so slow that he hang up my entire system.

    My router and cable modem work fine. I recently installed new cables ethernet between the cable modem, router and computer. BrightHouse is here last week and I have a strong signal of the internet. All of my plug-ins are up-to-date and if it's Windows XP. I cleaned cache from my browser several times. Close and restart Firefox Help for a little while.

    Hi GodivaRides, thanks for the following upward in a new thread: https://support.mozilla.org/en-US/questions/977945

  • Update El Capitan (to 10.11.3), now, many web pages are painfully slow...?

    I've recently updated El Capitan 10.11.3 on my macbook pro and many / most of the web pages are now very slow to load.  I checked it is not my wifi connection or service and none of my other devices have the problem.  I have this problem with a unit that I've just updated.

    Any suggestions?

    Info on the device:

    MacBook Pro (retina 15 "mid 2014)

    2.8 CPU clocked at GHz Intel Core i7

    16 GB 1600 MHz DDR3 RAM

    Intel Pro Iris 1536 MB graphics card

    1 TB Flash storage

    MacBookPro11, 3

    You run any kind of antivirus, cleaner, optimizer, or anything like that?

  • OfficeJet Pro 8600 - Print margins are off, slow and noisy printing

    I have problems printing my printer HP Officejet Pro 8600. When I am able to print the process is extremely slow and the printer made a lot of noise before and during printing. In addition, the margins are off compared to those on the document itself. The left margin is so great that it is cut a part of the document on the right side. I tried to unplug and restart the device and it is set back to the factory, but the questions remain. I printed a test page and it looks good, but speed, noise and margins continue to be a problem. How can I fix these problems?

    Thank you!

    What you mentioned, it seems that something is happening with the material. Here are two links to try to fix it, please choose the one that corresponds to the computer you have

    Slow printing in Windows: hardware issues

    Slow printing in Mac OS X 10.4 and later versions: printer problems

  • Imports are extremely SLOW after update to 2015.3

    I am experiencing gruelingly slow imports, several minutes to 1 clip that, before the update was almost instantaneous. I produce a weekly and have a very solid workflow that is identical to each week. The only thing that has changed is the version of the first everything is technically identical to before including the clip length give or take a few seconds, format, codec ect. If I try to interact with the import dialog box, as in the move, it says "not responding" but will finally complete the import.

    There are a couple of new options... or of differences in the application of the old options... that can cause such things.

    Most probably one is "Enable accelerated H.264 encoding"... which seems to slow almost everyone... found here and as shown, I suggest to disable (uncheck) this option:

  • The VMs are really slow (solved)

    I solved this problem by myself: I installed then disabled Hyper-V and it fixed Workstation

    Hello

    First of all, I spent hours on google to find a solution without success.

    When I install a program for example (even lite one), it may take up to 30 minutes to finish.

    Virtual machines are not lag (for example the mouse works well) but are slow to take action, to run programs.

    To stop a new simple installation of a windows virtual machine, it takes 10 minutes to do.

    I use last trial version of VMWare Workstation.

    My pc settings:

    . Processor: Intel® Core™ i5 4570 s (quadruple-heart - 3.7 GHz)

    . RAM: 16 GB PC12800 (1600 MHz) Corsair Vengeance DDR3

    . OS: Windows 10 Pro (64-bit)

    . Motherboard: ASUS Z87 - Pro C2

    . Power supply: Corsair HX850i 80 + Platinum

    . Storage: Samsung SSD Pro 850 128 GB (OS) + 2xWD Black 3 to SATA 6 Gbps (where virtual machines are stored)

    . Internet: CAT5e cable to VDSL2 Vectoring 100 MB Ethernet

    Here's what I've tried:

    -Virtual drives are stored on a single file

    -virtual drives defragmented

    -Runing a single vm

    -VMware Workstation Procces priority to high value

    -more than disc 20% free space on the guest and host

    -Even if the use of the cpu and ram are ok, I tried to add more CPU and more RAM on vm

    -Turn off the AV on the host (and not av on the virtual machine)

    -Performance power running on the host and the VM

    -VMware tools installed and up-to-date

    -Wide screen saver

    -VMware Workstation installed on an SSD and VM stored on a Western Digital Black 3 TB drive

    -My HARD drive are new, but I ran a test INTELLIGENT with the official tool of WD and the test is successful, the HARD disk is not fragmented.

    -Tried both x 86 and x 64 Windows VM (x 64 host)

    -delete snapshots

    -Even though I have no performance problem on my host, I closed all the apps runing

    -I don't use bound vm

    -Had the same problem on my old computer (I only kept my previous my ssd with the operating system installed on host PC)

    -Run Workstation as an administrator

    -Use préallouées

    I can copy filed up to 140 Mbps on my hard drive, so that it works fine, but when you use VMware workstation, write speed is stuck to 7MBps, when virtual machines running 1 or 10

    disk access.jpg

    One thing to note: my CPU not hyperthreading. But I had one before with this option has got the same problem.

    cpu.JPG

    It would be nice if you could help me, I'm stuck with this problem.

    Thanks for the reply, but unfortunately it does not solve my problem.

    I have already tried everything this KB except the line

    mainMem.useNamedFile = "FALSE".

    but this does not solve my problem either.

    Here's some useful information:

    -Run Workstation as an administrator

    -My HARD drive are new, but I ran a test INTELLIGENT with the official tool of WD and the test is successful, the HARD disk is not fragmented.

    -To stop a new simple installation of a windows virtual machine, it takes 10 minutes to do.

    -I can copy filed up to 140 Mbps on my hard drive, so that it works fine, but when you use VMware workstation, write speed is stuck to 7MBps, when virtual machines running 1 or 10

    -It takes about 2 min to suspend a virtual machine

    EDIT: I solved this problem by myself: I installed then disabled Hyper-V and it fixed Workstation

  • recently I upgraded my adobe acrobat in my 3rd generation ipad ios 8.1.2 after update my files manual pdf including more than 500 MB are very slow to respond and stuck all the time... .it has become a big problem for me now... I'm stuck... can not

    Help me

    Player crashes with files larger than 700 MB

    700 MB files are exceptionally large.  Any PDF reader you choose, it would be slow to display the content of a PDF in particular for previous generations of iPhones/iPads with CPU/GPU less powerful.

    Because your files are so large, I am afraid that you will not be able to share files with us (Adobe) via attachments or links to the cloud storage.

    Here are a few suggestions (not solutions, however).

    • Update to the latest version of iOS on your iPad.  iOS 8.1.2 is old enough. In general, you will get the performance and bug fixes update to a newer iOS.
    • Try other free PDF viewers for iOS.  For example, try Apple iBook.  You will not be able to add comments, annotations or filling out forms.  But it may be more appropriate for display.
    • Use the desktop version of Acrobat Reader.   All desktop/laptop computers are faster than iOS devices.

    We will make an effort to improve performance with large and complex files in Acrobat Reader for iOS. However, it would be difficult to overcome the limitations of hardware and file size. Sorry for the inconvenience.

  • Adobe CS6 + GTX550 TI - shows are always slow in publishing

    Hello guys,.

    I used the first and CS6 effects for months and suffered for slow editing for simple projects

    My investigation tells me that the CPU is the bottleneck

    So I recently installed a GPU to improve editing performance, but nothing has changed!

    I created first and effects to recognize and use my GPU:

    -Engine Mercury is defined on GPU under first

    -CUDA driver is recognized under effects

    (I see that the GPU is taken into account because the drop shadow effects are rendered differently since the material converter software)

    I am very surprised to see that nothing has changed in the timeline issue: when I play a short sequence (not pre-rendered), it is always very slow, exactly as under converter software...

    It seems that my CPU is always the bottleneck

    My config:

    -Windows 7 64 b

    -CPU: Intel i5 - 4670K

    -RAM: 16 GB DDR3

    -Disc: 2 SSD SATA3

    -GPU: GTX550 Ti

    Project type: dozens of HD H264 video files + dozen MP3 + HD photos + a few layers and effects like picture, sharpness, color management and the shadows

    But it is still slow, even if I disable the effects from After Effects (seizure, color management, sharpening)

    My config is fairly recent (2 years), then I would have expected rates more performance!

    You have an idea how I could fix this?

    Thanks in advance

    Note: GPU drivers NVidia 314.22: I do not use the most recent one (352) because it seems that they are in conflict with my audio drivers and black screen

    Could it be the 314.22 works not with CS6?

    So, finally I found the problem

    There are several points that put my computer on his knees:

    -Bit depth Max and rendering quality have been activated on each sequence (useless for an excerpt)

    -J' have been using After Effects for the entry (with Keylight) while first UltraKey seems to bring the same result with performance more

    -Some effecs seems costly in terms of CPU, like the color correction or sharpening

    -online once resolved, everything's fine and the real-time playback is smooth

    Hope it may help someone in the future!

  • Slideshows are very slow loading and sometimes cling to images?

    I had a problem with slideshow not loading or getting hung up on images. I tried it on several computers and having the same problem on all of them, I optimized my images for the web and no image is longer then 1.5 MB. I don't know what to do at this point.

    www.raswimmers.com

    A few tips:

    (1) avoid using system fonts.

    Your main menu and perhaps other text blocks, use system fonts. When a system font is used the block of text is converted to an image. This result in a request to the server by the text block, which slows down the loading of the page. If possible, use a Web font. If the edge of the Web fonts do not include a suitable font, then consider using a font 'Web Safe'. Only as a last resort, use a system font.

    (2) when a masked image is on a solid background, Cook the solid background in the image. This will make the opaque image that would be encoded as JPEG rather then PNG. For a photographic image, JPEG is generally 1/5th the size of the transparent PNG original without significant reduction in the quality of the image.

    (3) for the images of the full slide show screen, use enregistrer to save for Web in Photoshop, then select setting the lowest quality and compact size you can tolerate in terms of image quality. Your images are 2048 on the long side and about 'high' quality JPEG. You can consider if 'Medium' is tolerable. It's always a compromise of image quality performance and page load.

    1.5 MB for a single image is a bit. In general, a good goal for an entire web page is to aim for 2-3 MB in total. Average U.S. broadband speed is equivalent to about 900 k per second downloads with the average is higher on the sides and lower the Central US. Thus, a single 1.5 image will take a few seconds to download.

    In the case of a slideshow Muse will load the image with the page, and then load the other images in the background after the page loaded, so in general, you can just have images in a slide show beyond the data total guideline of 2-3 MB.

    If you encounter a case where a slide show is at a standstill, please send us the URL of the page so that we can investigate.

Maybe you are looking for

  • How cache works on an iPhone?

    Thus, if only a topic has an application that he has legally downloaded on the apple App Store in memory cache, video/audio from youtube videos. And it "covers" any song you want. 1.) does take space on the memory embedded phones (iPhone 16 gb) 2.) a

  • too many comm usb ports

    Hello I ran into what may be soon, where we test units that have built in USB ports that appear as serial comm ports. The problem is that whenever we connect to an object that has not been run on this computer until Windows assigns it a new com port

  • Microsoft Mail in Vista, no program associated to the setting of the power point

    With Microsoft Mail in Vista, open an attachment says PowerPoint there not associated program to open. However the Powerpoint Viewer is associated with and is used to open a .ppt outside Microsoft Mail. Why MS Mail does not know this association?

  • Continue to use MS Word 2003 instead of the Word 2007 that came with my new operating system (Windows Vista)

    I have Windows Vista OS with Word 2007 (bougth with my new machine).  Previously, I have Windows XP with Windows 2003.  I would like to keep Word 2003 and which have to be my default program.  How can I do this?  I have still my Windows XP disc - sho

  • Windows 7 - Bluescreen 0x000000d1 DRIVER_IRQL_NOT_LESS_OR_EQUAL

    I have a Windows 7 installed on my PC and I frequently (at least once a day) get the following BSOD: DRIVER_IRQL_NOT_LESS_OR_EQUAL 0X000000D1 (0 X 00008000, 0 X 00000002, 0X00000008, 0 X 00008000). Some of the numbers (except the first) may vary. I t