<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: parallel Execution using Powershell in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921887#M107630</link>
    <description>&lt;P&gt;That is a normal warning, just execute the command on the last line with either $true or $false.&lt;BR /&gt;You are setting up a new environment, hence this warning.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2022 14:16:39 GMT</pubDate>
    <dc:creator>LucD</dc:creator>
    <dc:date>2022-08-02T14:16:39Z</dc:date>
    <item>
      <title>parallel Execution using Powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921861#M107624</link>
      <description>&lt;P&gt;I am working on a activity which needs to get uptime from several servers. I am using Invoke-vmscript to do this activity. I want to use Parallel processing to reduce time.&lt;/P&gt;&lt;P&gt;Without a new ps session and using jobs. Is there any other way to do parallel execution.&lt;/P&gt;&lt;P&gt;I have tried Foreach-object -parallel, this didnot work because my powershell version is not 7.&lt;/P&gt;&lt;P&gt;Any suggestion Helps!&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 12:19:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921861#M107624</guid>
      <dc:creator>Developer_PK</dc:creator>
      <dc:date>2022-08-02T12:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: parallel Execution using Powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921868#M107625</link>
      <description>&lt;P&gt;If your PS is not PSv7 and you don't want to use Start-Job, then the other option is to look at runspaces.&lt;BR /&gt;But be aware that PowerCLI is not threadsafe.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 12:50:31 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921868#M107625</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-08-02T12:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: parallel Execution using Powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921870#M107626</link>
      <description>&lt;P&gt;HI LucD,&lt;BR /&gt;&lt;BR /&gt;Can you help me, by using jobs.&lt;BR /&gt;I had to run a script which is large on multiple servers. Can you help me with using Jobs.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 12:56:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921870#M107626</guid>
      <dc:creator>Developer_PK</dc:creator>
      <dc:date>2022-08-02T12:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: parallel Execution using Powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921875#M107627</link>
      <description>&lt;P&gt;There is a sample in&amp;nbsp;&lt;A href="https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Pass-vCenter-connection-to-a-Job/m-p/1868847/highlight/true#M64510" target="_blank"&gt;Solved: Re: Pass vCenter connection to a Job - VMware Technology Network VMTN&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:16:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921875#M107627</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-08-02T13:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: parallel Execution using Powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921881#M107628</link>
      <description>&lt;P&gt;Hi LucD,&lt;BR /&gt;I got this warning in the job output. Can you help me with this.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;WARNING: Please consider joining the VMware Customer Experience Improvement Program, so you can help us make PowerCLI a better product. You can join using the following c&lt;BR /&gt;ommand:&lt;/P&gt;&lt;P&gt;Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true&lt;/P&gt;&lt;P&gt;VMware's Customer Experience Improvement Program ("CEIP") provides VMware with information that enables VMware to improve its products and services, to fix problems, and&lt;BR /&gt;to advise you on how best to deploy and use our products. As part of the CEIP, VMware collects technical information about your organizationâ€™s use of VMware products a&lt;BR /&gt;nd services on a regular basis in association with your organizationâ€™s VMware license key(s). This information does not personally identify any individual.&lt;/P&gt;&lt;P&gt;For more details: type "help about_ceip" to see the related help article.&lt;/P&gt;&lt;P&gt;To disable this warning and set your preference use the following command and restart PowerShell:&lt;BR /&gt;Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true or $false.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:48:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921881#M107628</guid>
      <dc:creator>Developer_PK</dc:creator>
      <dc:date>2022-08-02T13:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: parallel Execution using Powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921887#M107630</link>
      <description>&lt;P&gt;That is a normal warning, just execute the command on the last line with either $true or $false.&lt;BR /&gt;You are setting up a new environment, hence this warning.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 14:16:39 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921887#M107630</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-08-02T14:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: parallel Execution using Powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921903#M107632</link>
      <description>&lt;P&gt;Thanks much for reply.&lt;BR /&gt;I want to send a Another variable to Argument list. So that it should Take the variable data in to code block.&lt;BR /&gt;Like I want to pass multiple variables to arugementlist.&amp;nbsp;&lt;BR /&gt;Is this possible?&lt;BR /&gt;I want to run a code block for multiple servers to fetch data.&lt;BR /&gt;$vmnames |%{&lt;BR /&gt;$scriptblock = { #code}&lt;BR /&gt;Start-Job $ScriptBlock -ArgumentList $_&lt;BR /&gt;}&lt;BR /&gt;This way i am using the code block.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 14:51:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921903#M107632</guid>
      <dc:creator>Developer_PK</dc:creator>
      <dc:date>2022-08-02T14:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: parallel Execution using Powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921904#M107633</link>
      <description>&lt;P&gt;If you read that thread I pointed to earlier, you'll notice it also discusses passing an array.&lt;BR /&gt;Also, in that thread I point to an example on my blog where we pass 3 arguments to the job.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 14:54:37 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2921904#M107633</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-08-02T14:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: parallel Execution using Powershell</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2922082#M107642</link>
      <description>&lt;P&gt;you basically have the answer, just install the PowerShell 7 and get the job done,&lt;BR /&gt;&lt;BR /&gt;and you don't have to worried about the warning,&amp;nbsp; just run the below command and be done with it.&lt;BR /&gt;&lt;FONT face="courier new,courier" color="#808080"&gt;Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP:$false&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@22085A0F988A1F3363009F536EBAF065/emoticons/270c.png" alt=":victory_hand:" title=":victory_hand:" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 13:04:09 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/parallel-Execution-using-Powershell/m-p/2922082#M107642</guid>
      <dc:creator>Godwin_Christop</dc:creator>
      <dc:date>2022-08-03T13:04:09Z</dc:date>
    </item>
  </channel>
</rss>

