VMware Cloud Community
Drdre1978
Enthusiast
Enthusiast

Linux appliance i.c.m. with Powershell plugin

Hi Guys,

I want to use the powershell plug-in for VCO. I use the VCO Linux appliance. The Powershell plug-in works with winrm.

When i read the Technet article on Winrm, it says that it needs two Windows servers to setup windows remote management.

So in my opinion the Powershell plugin doesn't work.

Now i did a bit of reading on this forum and i see more people trying to install the powershell plugin with the Linux appliance.

Does anybody have the whole guidence to install it? So not the short version with only the quickconfig action on a Windows machine. And not the short version of how to import a plugin. But  the whole installation of the plugin on a Linux appliance and a VCAC windows environment.

Our idea is to use SSH and to start WinRM from SSH. Is this going to work?

My idea is no because the service has to run on both machines.

Kind regards,

André

Tags (2)
Reply
0 Kudos
7 Replies
igaydajiev
VMware Employee
VMware Employee

There are no issues with installing powershell plugin on linux (vCO Appliance.).

The plugin itself can run both on Linux or Windows.

Note that PowerShell scripts itself are executed on Windows machine. One possible setup is is vCO Server( can be linux or windows) with installed PowerShell plugin for vCO executes PS scripts on one or more "PowerShell host" machines ( Windows machines with installed PowerShell and configured WinRM service)

Hope it helps.

Drdre1978
Enthusiast
Enthusiast

Hi Igaydajiev,

Do i have to open a HTTP port to the Linux server. I get the following error when i try to run winrm:

PS D:\> winrm get winrm/config
WSManFault
    Message = The WinRM client cannot process the request. It cannot determine the content type of the HTTP response fro
m the destination computer. The content type is absent or invalid.

Error number:  -2144108297 0x803380F7
The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destinat
ion computer. The content type is absent or invalid.

Kind regards,

Groet André

Reply
0 Kudos
Drdre1978
Enthusiast
Enthusiast

I'm doing the winrm config on the VCAC server.

Reply
0 Kudos
igaydajiev
VMware Employee
VMware Employee

>Do i have to open a HTTP port to the Linux server.

No.


> I get the following error when i try to run winrm:

PowerShell host can be any Windows with installed PowerShell & configured WinRM service.

Not sure if you have already found it but here is  a brief guide how to configure  WinRM service vCO PowerShell plug-in | VMware vCenter Orchestrator Blog - VMware Blogs

Reply
0 Kudos
Drdre1978
Enthusiast
Enthusiast

Yes, i found the brief instruction and when i type every commando. I get this error, thats why i thaught about the HTTP port:

PS D:\> winrm get winrm/config
WSManFault
    Message = The WinRM client cannot process the request. It cannot determine the content type of the HTTP response fro
m the destination computer. The content type is absent or invalid.

Error number:  -2144108297 0x803380F7
The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from the destinat
ion computer. The content type is absent or invalid.

Reply
0 Kudos
Drdre1978
Enthusiast
Enthusiast

When i search on Microsoft forums on this error i come up with the solution that winRm must be installed on 2 machines.

So that why i opened this forum.

Reply
0 Kudos
Drdre1978
Enthusiast
Enthusiast

Hi

Enable and Use Remote Commands in Windows PowerShell

Kind regards,

André

Reply
0 Kudos