Skip to content

Help for setup requested #2

@LooOOooM

Description

@LooOOooM

Hello Kyle,
I read your blog https://blogs.vmware.com/PowerCLI/2018/10/new-release-powercli-11-0-0.html, where I wanted to post this first, but for some reasons the blogs Webserver throughout ‘Access Denied
You don't have permission to access "http://blogs.vmware.com/PowerCLI/wp-comments-post.php" on this server.” to post.’
Therefore I am contacting you this way,- sorry for that, however I hope you can help me.

I am trying to get “PowerCLI 11” working on CentOS 7.6.1810.
I tried the following:
1a)Installation of “dotNet 2.2” (all operations as root)

rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
yum install aspnetcore-runtime-2.2

1b) I also tried the same with “dotNet 2.0”

wget https://download.microsoft.com/download/3/a/3/3a3bda26-560d-4d8e-922e-6f6bc4553a84/dotnet-runtime-2.0.9-linux-x64.tar.gz
mkdir /opt/microsoft/dotNet
tar xvfz ../downloads/dotnet-runtime-2.0.9-linux-x64.tar.gz
mv * /opt/microsoft/dotNet
  1. Installation of Powershell 6.1.0
yum install libunwind libcurl openssl-libs libicu
curl -L -o /tmp/powershell.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v6.1.0/powershell-6.1.0-linux-x64.tar.gz
mkdir -p /opt/microsoft/powershell/6.1.0
tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/6.1.0
chmod +x /opt/microsoft/powershell/6.1.0/pwsh
ln -s /opt/microsoft/powershell/6.1.0/pwsh /usr/bin/pwsh
  1. Installation of PowerCLI 11
wget https://vdc-download.vmware.com/vmwb-repository/dcr-public/bcf68905-9a91-47d0-bae0-633341cb176c/05735056-17f1-42c4-b909-312eb92ad423/VMware-PowerCLI-11.0.0-10380590.zip
unzip –x VMware-PowerCLI-11.0.0-10380590.zip
mkdir –p /root/.local/share/powershell/Modules/
mv VMware* /root/.local/share/powershell/Modules/
  1. Installing the Modules (Failes)
    pwsh
    PS /root/myusername/tmp> $PSVersionTable.PSVersion
Major  Minor  Patch  PreReleaseLabel BuildLabel
-----  -----  -----  --------------- ----------
6      1      0

Get-Module -ListAvailable VMware*|Import-Module
Import-Module : The VMware.ImageBuilder module is not currently supported on the Core edition of PowerShell.
At line:1 char:1
+ Get-Module -ListAvailable VMware*|Import-Module
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (The VMware.Imag... of PowerShell.:String) [Import-Module], RuntimeException
+ FullyQualifiedErrorId : The VMware.ImageBuilder module is not currently supported on the Core edition of PowerShell.,Microsoft.PowerShell.Commands.ImportModuleCommand

… I also tried to explicitly install just the “VMware.PowerCLI” Module, which fails in the same way. What am I doing wrong? Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions