PowerShell Deployment Without Install

Advertisement

JDobbsy1987
Joined:
Posts:
3

PowerShell Deployment Without Install

Hi,

I'm looking to create a PowerShell form that will be given to people within the business to be able add files to an SFTP site.

What is the best way to manage this with WinSCP from a deployment point of view?
Ideally, I don't want to install WinSCP across different computers.

Can I put an .exe or .dll in a central location for all machines to use?

Cheers,
Jamie
Last edited by JDobbsy1987 on 2020-11-19 11:37; edited 1 time in total

Reply with quote

Advertisement

JDobbsy1987
Joined:
Posts:
3

I have realised that putting WinSCP.exe and WinSCPnet.dll in the same location as the script works ok, is this the most efficient way to do it?

Rather than having many copies of those 2 files with different scripts, can I change the location the script looks at for them so I only need 1 copy of them in a central location which all scripts could reference?

Sorry if I have missed this in the docs.

Reply with quote

JDobbsy1987

Hi Martin, thank you for the reply, i did have a play with it, at first I wasn't sure how to reference the .exe but did then realise as long as it's in the same directory as the .dll it gets picked up.

Reply with quote

Advertisement

You can post new topics in this forum