Page 1 of 1

ActiveXPoSHV3 method Execute()

Posted: Mon Mar 04, 2019 4:27 am
by drunkUmka
Hi

Please, tell me.

Powershell script С:\PSScript.ps1

Code: Select all

param ($src $dst)
copy-item $src $dst -force
in the PS shell we write:

Code: Select all

С:\PSScript.ps1 "C:\test1" "C:\test2"
all right

How to pass parameters ($src $dst) using ActiveXPoSHV3 method Execute()?

Аny other without parameters, write Execute(FileNameScript) - all right.

Re: ActiveXPoSHV3 method Execute()

Posted: Mon Mar 18, 2019 6:33 am
by Alexander Riedel
That is quite an old component, there might not be any way to do that. I'll will double check.