LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-03-2021, 08:57 PM   #1
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,454
Blog Entries: 7

Rep: Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557
VMware PowerCLI on Linux?


I need to add a network driver to an ESXi ISO in order to get ESXi to install on my hardware.

This can be done with the VMware Image Builder which is included with PowerCLI.

PowerCLI requires Microsoft Powershell, which (surprisingly) is cross platform.

So, I installed Powershell as per Microsoft's instructions, and it seems to work.

Adding PowerCLI was then just a matter of running this command: Install-Module VMware.PowerCLI -Scope CurrentUser

PowerCLI seems to install OK... but trying to run any of the VMware Image Builder commands (say, for example, Get-EsxImageProfile) gives me this:

"Get-EsxImageProfile: The 'Get-EsxImageProfile' command was found in the module 'VMware.ImageBuilder', but the module could not be loaded. For more information, run 'Import-Module VMware.ImageBuilder'"

So then I run: Import-Module VMware.ImageBuilder, and I get this:

"Exception: The VMware.ImageBuilder module is not currently supported on the Core edition of PowerShell"

Has anyone come across this? If so, how do I fix it?

Last edited by rkelsen; 07-03-2021 at 09:08 PM.
 
Old 07-04-2021, 02:47 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Might have to built a windows vm and try it.
 
Old 07-07-2021, 06:17 PM   #3
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,454

Original Poster
Blog Entries: 7

Rep: Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557Reputation: 2557
Yeah, it works in Windows.

Keen to know why it doesn't work on the open source version of "Power" shell.

It'd be great if there was a version of PowerCLI for a proper shell, like bash.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuration to access internet from vmware(host=winXP, guest on vmware=linux-5) afz_linux Linux - Newbie 3 12-30-2008 12:20 AM
Debug Linux kernel in vmware (two machines in vmware)?? cyu021 Programming 0 03-30-2005 07:46 PM
want to exchange my vmware esx 3.1 against a vmware gsx 3.1 neton Linux - Software 1 08-06-2004 08:23 AM
Vmware Virtual Machine Problem With Windows In Vmware jvdbossc Linux - Software 2 05-28-2004 06:54 AM
vmware, mandrake 9.0 (finding vmware tools) Gratz Linux - Software 2 03-01-2004 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration