Update Manager PowerCLI - parallel cleanup

Hi all

I'm trying to get a fairly good automated script work to update / correct dozens of clusters of ESXi.

We would like to use the parallel remediation option, do a few parallel corrective measures:

$cluster | Remediate-Inventory -Baseline $baselines -ClusterEnableParallelRemediation:$true  

The GUI we can limit the number of hosts at the same time restored to a fixed number of hosts.

I would use this option to limit to half of the numbers hosts in a cluster.

But I can't find the option to use the PowerCLI inside...

A knowledge that this option is available and usable from PowerCLI?

Thank you and best regards,

Harold

@hharold

As I know there is no option with the cmdlet.

But you can remidiate your servers in batches.

Suppose you have a table with all the objects in your server, then you might make a loop

$nrParallel = 4 $array = $cluster | Get-VMHost
$endLoop = [math]::Floor($array.Count/$nrParallel)
if($array.Count%$nrParallel -eq 0){
    $endLoop -= 1}

foreach($i in (0..$endLoop)){
    Remediate-Inventory -Entity $array[($i * $nrParallel)..((($i + 1) * $nrParallel) - 1)] -Baseline $baselines -ClusterEnableParallelRemediation:$true
}

Try first with the setting - WhatIf

Update: correction to the logic

Tags: VMware

Similar Questions

  • PowerCLI Update Manager does not

    Hi all.

    I have a problem with the Update Manager PowerCLI addon.

    I have a latest version (installed on a 2012 R2 server) 5.5 vcenter and VMware PowerCLI - 5.5.0 - 1295336 and VMware-UpdateManager-Pscli - 5.5.0 - 1302474 installed on it.

    Whenever I call a Muv stopp working powershell cmdlet. Error is the process ended because of StackOverflowException

    Signature of the problem:

    Problem event name: APPCRASH

    Application name: powershell.exe

    Application version: 6.3.9600.16384

    Application timestamp: 5215ef23

    Fault Module name: ntdll.dll

    Fault Module Version: 6.3.9600.16408

    Fault Module Timestamp: 523d 5305

    Exception code: c0000005

    Exception offset: 0000000000055a0b

    OS version: 6.3.9600.2.0.0.272.7

    Locale ID: 1031

    Additional information 1: ba05

    More information 2: ba05ba065b7271e9ac272dfe3756584e

    3 more information: 5c6f

    Additional information 4: 5c6f680ba1c900288b9bf1202b7d9156

    Read our privacy statement online:

    http://go.microsoft.com/fwlink/?linkid=280262

    If the online privacy statement is not available, please read our offline privacy statement:

    C:\Windows\system32\en-US\erofflps.txt

    What is that do I get cmdlet Update Manager work?

    Hi LucD,

    I found the problem. Looks like there was a problem with .net

    This fix http://www.microsoft.com/en-us/download/details.aspx?id=30135 found the problem and solved. Now everything workes fine.

    Thank you for your support!

    Rainer

  • scripts for Update Manager in vSphere4

    Hello:

    I'm trying to use scripts that I have used successfully in VI3 in my environment vSphere 4, but have trouble...

    I would be able to the make or VMware changed something?

    Should the cmdlet 'Get-Baseline' still work?

    I get the term 'get-baseline' is not recognized as a cmdlet.

    Thank you

    Don't we no VUM PowerCLI cmdlets more.

    See also the response to Carter in the vSphere Update Manager - shared repository - of which API

  • Sonic Update Manager always appears after restarting and remains on the screen

    I finally got my c4480 all-in-one printer to work - after so many trials.  Now everytime I restart the computer, I get the Sonic Update Manager on the screen and it never goes away!  I can scoot the side to see the screen on the monitor, but it always remains on the desktop.  I did something after the fiasco of trying to get the printer to work?

    Thanks for the help!  It got so boring that nothing has worked to stop him from keeping popping up.  I was surprised that the first solution worked.

  • NB100 - "Update Manager" will automatically load and start to run

    Whenever I turn on my NB100 (Ubuntu ReMix) the "Update Manager" application load automatically and begins to run.

    How can I stop this happening?

    Thank you
    David Lowe

    I don't know the English names. In the German version, it's the "Einstellungen" menu and there, use the "meetings".
    (Blue icon with a large arrow left)

  • I get this when I try to get this Program Update Manager Error 5__

    Q111009: update the error handler 5
    The operating system could not plan Update Manager to launch the system startup. »
    Reload the Update Manager from the command line.
    Select start > run.
    In the open field, type:
    "" C:\Program Files\Fichiers Files\InstallShield\UpdateService\ISUSPM. "." EXE"- bootstrap

    Press ENTER. The Update Manager should start.
    IM new to the use of the cumputer, not shar what to do.help me please

    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Contact the manufacturer of your application.

    Good luck $

  • Always get prompt to enter for Sonic Update Manager CD

    Whenever I log in I get the message update of Sonic Update Manager and enter a sonic cd which I do not have or want. It takes several sessions to hit Cancel to dismiss the message.  I deleted Panel but still message. Help.

    Do a search on computer for Sonic Update Manager.
    You can go to run, type MSconfig and see if Sonic Manager is in the list.
    If so, then uncheck the Sonic Update Manager and click ok.

    Then see if you still get the promopt.

    Please let us know.

    Marilyn

  • XP ' Change/Remove tool does not remove Roxio from my computer Update Manager. How can I remove it?

    I deleted the program Roxio from my computer, but the 'Roxio Update Manager' component will not uninstall.  How can I remove it?

    Hello

    You can follow the steps listed in the link below and check if it helps: how to manually remove programs from the add tool / remove programs: http://support.microsoft.com/kb/314481

    You can also post your request in the support of Roxio for any intervention on the same forum: http://forums.support.roxio.com/

  • I get a pop up window saying windows is looking for a sonic Update Manager file

    original title: unsubscribe

    I get a pop-up window saying windows is looking for a sonic Update Manager file (said scan.msi) and can't find it - he is constantly back and forth w/Setup attempt and then returns to "Please install the scan disk file" which I DID not!  How can I get rid of this, and which upped in the 1st place?  Did not request a scan?  I am using iolo System Mechanic installed by Dell and do not know if something in this program attempts to run a scan, but it's very embarrassing to have these pop up screens constantly fight w/each other - I tried to cancel out of them, and they just continue to flow upward again and again.

    E-mail address is removed from the privacy *.

    Hi Barbara a Woodin,.

    1. did you of recent changes on the computer?

    2. do you have sonic update manager installed on the computer?

    If you have Sonic update manager installed on the computer, then check out the link below and try the steps mentioned them, check if it helps.

    Update Manager (Service) issues and resolutions

    For further assistance, you can post your request in the community forums of Roxio.

    http://forums.support.Roxio.com/Forum/105-Sonic-applications/

  • Error 1706 on start open the Update Manager how to fix

    When I start my computer update manager opens in a window and askes for a disc to be inserted when I cancel I get message Error 1706 no valid siurse could be found for product update Manager Windows install cannot continue.

    The only way I can get rid of window is Ctrl Alt Del

    How can I solve this problem

    Hello

    I suggest you perform a clean boot and check if the problem persists.

    See this article for more information on the clean boot:


    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353 

  • at startup, the message error code 1706, Update Manager

    Every time you start, receive the message "Please wait while windows configures Update Manager" then it says "insert source 1" which is a cd-rom or other removable disk.  my system came preloaded...  Give then "code error 1706.   someone knows

    How to solve this problem?

    Hello Connie_58,

    Thanks for your post.  Please see this article for a possible solution to this problem.  Let us know if she did or did not help to solve the problem.

    See you soon

  • Box of Veritas Update Manager install

    Whenever I start my computer, I get this stat box says Veritas Update Manager install (or something like that).  Click to cancel it, and this goes back to trying to install.  I have to click Cancel about 8 to 10 times before it finally stopped.  I can solve this problem?

    Hello

    ·        You have a program called VERITAS on the system?

    VERITAS is a security/backup application. If you have the application installed on the system, then it could be that the program tries to update and these updates very probably contains virus definitions.

    If you have not intentionally installed, then you must remove it to add / remove programs on the system. Follow the steps mentioned below.

    a. Click Start, click Control Panel.

    b. click on add and remove programs and locate the program in the list.

    c. right-click on the program and click on uninstall.

    This allows to uninstall the program from the system. For more information, I suggest you to check the article mentioned below.

    How to manually remove programs from the add tool / remove programs

    http://support.Microsoft.com/kb/314481

    I suggest you to contact the manufacturer of the program for assistance.

    Thanks and regards.

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

  • I get a message that indicates the component that you are trying to use is on a CD-ROM or other removable disk that do not exist insert the 'Sonic Update Manager' disk and click ok

    He reads at the top of the installer of windows message

    Hi gerardoram9160,

    1. When you receive the error message?

    2. did you of recent changes on the computer?

    3. do you have 'Sonic Update Manager', installed on the computer?

    If you get the error message when the uninstall or uninstall the program, see the Microsoft article and try the steps mentioned below.

    How to troubleshoot issues that may occur when you install, uninstall, or upgrade one program on a Windows computer

    http://support.Microsoft.com/kb/2438651

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • What is Windows Media Center Store Update Manager?

    said only what to do when you have problems, but I'm not having any problems with it I was wondering what is the Windows Media Center Store Update Manager and what is it?

    Hello
     
    Windows Media Center Store Update Manager is a feature that is responsible for store and manage settings of Windows Media Center.
    The settings are stored in a database file at this location: %ProgramData%\Microsoft\eHome\mediaCenterDataStore.db
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.

  • Change of schedule of InstallShield Update Manager to check updates

    As I understand it, InstallShield Update Manager checks for software updates in the same way that the MS Updates program works. I'm not really sure what he's looking for.

    I have two questions:

    1. what programs on my computer check InstallShield Update Manager?

    2. my InstallShield Update Manager checks the updates on Thursday evening. It is set to check for updates every week. How can I change the time of day, check updates? The update settings window does not all options for this. It only allows options to check monthly, weekly or daily.
    I use public WiFi for my Internet connection on my laptop during the day. I am not connected to the Internet in the evening. I'm afraid that something is not being updated on my computer. My laptop seems to work very well. I do regular updates from Ms.

    rt_hawk

    InstallShield is not a Microsoft product. I suggest that you contact the OEM PC assistance site.

    Another option would be to uninstall InstallShield.

Maybe you are looking for