Help Execute Powershell Code with multihop on Collection Commander

Topics: General Topics
Oct 18, 2016 at 3:24 PM
Edited Oct 18, 2016 at 3:26 PM
Hello Guys,

I hope you can help me, i am creating a powershell script for Collection commander that reinstall a application agent, below follow the details

I Have Computer1, Computer2 and a Networkshare with source files.

The idea is use collection commander on Computer1 to execute a script on Computer2.

My script will run some files that it must copy from out networkshare.

The problem is that how Collection commander open a remote seession and when my script try to copy those files it fail, as access denied, this happens becasue powershell do not keep the credentials of the oppened session to access the network share.

On native powershell we can configrue that using multihop Creed SSP, this works fine, but how my company solution to reinstall all agents is based on collection commander i must made it work.

Do you have any idea about how to do that?

note.: multiple helpdesk guys will use this script, so i want this just to be a right click and run without manual steps.

In link below you can see more information about what i mean.

https://blogs.technet.microsoft.com/heyscriptingguy/2013/04/04/enabling-multihop-remoting/

Thank you in advance guys