<?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: PowerCLI Issues in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846372#M101438</link>
    <description>&lt;P&gt;And just to be safe, I put that PowerCLI folder in all of the module locations.&lt;/P&gt;</description>
    <pubDate>Mon, 10 May 2021 16:09:25 GMT</pubDate>
    <dc:creator>Xanthus3</dc:creator>
    <dc:date>2021-05-10T16:09:25Z</dc:date>
    <item>
      <title>PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846329#M101429</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;I have downloaded and installed the module, PowerCLI, from&amp;nbsp;&lt;A href="https://developer.vmware.com/powercli" target="_blank" rel="noopener"&gt;https://developer.vmware.com/powercli&lt;/A&gt;&amp;nbsp;, offline version. I created a folder in Powershell modules named PowerCLI. I tried to run the first command to connect to ESX blade and got the following error.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"PS C:\WINDOWS\system32&amp;gt; connect-viserver -server 'my server name'&lt;BR /&gt;connect-viserver : The 'connect-viserver' command was found in the module 'VMware.VimAutomation.Core', but the module could not be loaded. For more&lt;BR /&gt;information, run 'Import-Module VMware.VimAutomation.Core'.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ connect-viserver -server 172.20.6.133&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : ObjectNotFound: (connect-viserver:String) [], CommandNotFoundException&lt;BR /&gt;+ FullyQualifiedErrorId : CouldNotAutoloadMatchingModule"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have tried running the command import-module command and got this:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"PS C:\WINDOWS\system32&amp;gt; Import-Module VMware.VimAutomation.Core&lt;BR /&gt;Import-Module : The specified module 'VMware.VimAutomation.Core' was not loaded because no valid module file was found in any module directory.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Import-Module VMware.VimAutomation.Core&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : ResourceUnavailable: (VMware.VimAutomation.Core:String) [Import-Module], FileNotFoundException&lt;BR /&gt;+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ran this command to get info&amp;nbsp;Get-Module -Name VMware* -ListAvailable | Select Name,Version:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Name Version&lt;BR /&gt;---- -------&lt;BR /&gt;VMware.CloudServices 12.2.0.17531656&lt;BR /&gt;VMware.DeployAutomation 7.0.2.17849781&lt;BR /&gt;VMware.ImageBuilder 7.0.2.17849781&lt;BR /&gt;VMware.PowerCLI 12.3.0.17860403&lt;BR /&gt;VMware.Vim 7.0.2.17839075&lt;BR /&gt;VMware.VimAutomation.Cis.Core 12.3.0.17839331&lt;BR /&gt;VMware.VimAutomation.Cloud 12.0.0.15940183&lt;BR /&gt;VMware.VimAutomation.Common 12.3.0.17838947&lt;BR /&gt;VMware.VimAutomation.Core 12.3.0.17839688&lt;BR /&gt;VMware.VimAutomation.Hcx 12.3.0.17860192&lt;BR /&gt;VMware.VimAutomation.HorizonView 12.3.0.17806051&lt;BR /&gt;VMware.VimAutomation.License 12.0.0.15939670&lt;BR /&gt;VMware.VimAutomation.Nsxt 12.3.0.17843496&lt;BR /&gt;VMware.VimAutomation.Sdk 12.2.0.17531155&lt;BR /&gt;VMware.VimAutomation.Security 12.3.0.17833870&lt;BR /&gt;VMware.VimAutomation.Srm 12.3.0.17843071&lt;BR /&gt;VMware.VimAutomation.Storage 12.3.0.17855705&lt;BR /&gt;VMware.VimAutomation.StorageUtility 1.6.0.0&lt;BR /&gt;VMware.VimAutomation.Vds 12.3.0.17856667&lt;BR /&gt;VMware.VimAutomation.Vmc 12.2.0.17531704&lt;BR /&gt;VMware.VimAutomation.vROps 12.2.0.17532798&lt;BR /&gt;VMware.VimAutomation.WorkloadManagement 12.3.0.17856842&lt;BR /&gt;VMware.VumAutomation 12.1.0.16941488&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So as you can see, automation.core is being seen but it won't load.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Some notes to keep in mind. I can't download the module via PowerShell as I have to install it as an admin and admins don't have access to the internet. So installing from PowerShell is out.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any help would greatly be appreciated.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 14:09:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846329#M101429</guid>
      <dc:creator>Xanthus3</dc:creator>
      <dc:date>2021-05-10T14:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846335#M101430</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;re. your "abuse report"&lt;/P&gt;
&lt;P&gt;The antispam mechanism of this forum is overly active. &lt;BR /&gt;As soon as you post a link, the chances of your post getting tagged as spam increases about tenfold.&lt;BR /&gt;It does not seem to matter that the link is under the vmware.com domain (yes that makes no sense to me either)&lt;BR /&gt;Either way, I fished your post out of the spam queue.&lt;/P&gt;
&lt;P&gt;--&lt;BR /&gt;Wil&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 14:24:15 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846335#M101430</guid>
      <dc:creator>wila</dc:creator>
      <dc:date>2021-05-10T14:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846358#M101434</link>
      <description>&lt;P&gt;Did you check if any of the folders in $env:PSModulePath points to the folder where the modules are located?&lt;BR /&gt;Did you install PowerCLI from a ZIP file or with the Install-Module cmdlet?&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 15:39:45 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846358#M101434</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2021-05-10T15:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846370#M101437</link>
      <description>&lt;P&gt;I guess you can say installed it from the zip. I copied the files from the zip to the modules folder, inside of a new folder called PowerCLI. The&amp;nbsp;&lt;STRONG&gt;Get-Module -Name VMware* -ListAvailable | Select Name,Version&lt;/STRONG&gt; command see's the vmware modules I moved over. I then closed and reopened to see if that would populate. That has not.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 16:05:11 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846370#M101437</guid>
      <dc:creator>Xanthus3</dc:creator>
      <dc:date>2021-05-10T16:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846372#M101438</link>
      <description>&lt;P&gt;And just to be safe, I put that PowerCLI folder in all of the module locations.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 16:09:25 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846372#M101438</guid>
      <dc:creator>Xanthus3</dc:creator>
      <dc:date>2021-05-10T16:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846375#M101439</link>
      <description>&lt;P&gt;One folder should be enough&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@9A8352F02F49809A161B25D7C247110D/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;BR /&gt;&lt;BR /&gt;After you downloaded the ZIP file, did you unblock it with the &lt;STRONG&gt;Unblock-File&lt;/STRONG&gt; cmdlet?&lt;BR /&gt;See also&amp;nbsp;&lt;A href="https://blogs.vmware.com/PowerCLI/2018/01/powercli-offline-installation-walkthrough.html" target="_blank" rel="noopener"&gt;PowerCLI Offline Installation Walkthrough&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 16:12:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846375#M101439</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2021-05-10T16:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846381#M101443</link>
      <description>&lt;P&gt;Ok. I figured it out. Me creating a new folder (PowerCLI) inside of the module folder and unzipping the files to that folder, instead of just unzipping the contents of the zip to the module folder, was the culprit.&lt;/P&gt;&lt;P&gt;IE: I unzipped the files to&amp;nbsp;C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PowerCLI\ INSTEAD of&amp;nbsp;C:\Windows\System32\WindowsPowerShell\v1.0\Modules\&lt;/P&gt;&lt;P&gt;That extra folder is the reason. Thank you for your time!&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 16:27:15 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2846381#M101443</guid>
      <dc:creator>Xanthus3</dc:creator>
      <dc:date>2021-05-10T16:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2949546#M110164</link>
      <description>&lt;P&gt;Solution:&lt;/P&gt;&lt;P&gt;Set-ExecutionPolicy RemoteSigned&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Br!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 14:26:27 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2949546#M110164</guid>
      <dc:creator>HelionAL</dc:creator>
      <dc:date>2023-01-19T14:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2949558#M110168</link>
      <description>&lt;P&gt;Why are you posting this reply?&lt;BR /&gt;The execution policy has nothing to do with the issue the poster reported.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 14:55:24 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2949558#M110168</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2023-01-19T14:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2950456#M110299</link>
      <description>&lt;P&gt;Because the tools are already installed.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The 'connect-viserver' command was found in the module 'VMware.VimAutomation.Core', but the module could not be loaded. For more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;information, run 'Import-Module VMware.VimAutomation.Core'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Execution policy it's prohibiting them to run.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can try it, set the execution policy to restricted, and try to load the command connect-viserver.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Waiting for your response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Br!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 14:47:53 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2950456#M110299</guid>
      <dc:creator>HelionAL</dc:creator>
      <dc:date>2023-01-24T14:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: PowerCLI Issues</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2950462#M110304</link>
      <description>&lt;P&gt;I didn't say the execution policy "Restricted" could not cause something similar.&lt;BR /&gt;But nothing in the submitter's description of his issue indicated anything about the execution policy.&lt;BR /&gt;&lt;BR /&gt;As was confirmed by the submitter himself later on.&lt;BR /&gt;The issue was caused by not unblocking the downloaded ZIP file.&lt;BR /&gt;&lt;BR /&gt;So again, please stop submitting nonsense, or at least read the thread carefully before submitting such replies.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 15:04:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/PowerCLI-Issues/m-p/2950462#M110304</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2023-01-24T15:04:29Z</dc:date>
    </item>
  </channel>
</rss>

