VMware Cloud Community
StefanPahrmann

Remote hopping with powershell plugin

Hi,

I have created a kerberos session to a remote host (shared session, called ServerA). When I try to run a powershell command through the Invoke a powershell script"-workflow, it can execute on that remote server.

When running following: gc c:\test.txt it shows nicely the contents of the file. When I run gc \\serverB\c$\text.txt it states that the file does not exist (ServerB is not the powershell-host connected from vco). The file exist and the permissions are also ok - I tried that with a runas-command.

I tried enabling delegation for ServerA and also tried with CredSSP (winrm set winrm/config/service/auth '@{CredSSP="true"}' and winrm set winrm/config/client/auth '@{CredSSP="true"}').

I'm using the vCO-appliance 5.5. Any hints are greatly appreciated.

Regards

Stefan Pahrmann

0 Kudos
2 Replies
grace27
Enthusiast
Enthusiast

Hi

Welcome to the communities.

Did you tried elevated mode ( run as administrtaor ) ?

0 Kudos
StefanPahrmann

Thanks Smiley Happy

I have disabled LUA on both servers. On the vCO-server I can't "run as administrator" (since it's a Linux-appliance).

An Invoke-command from an other Windows-based server works well though.

0 Kudos