ActiveXPoSHV3 method Execute()

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
drunkUmka
Posts: 1
Joined: Tue Jan 22, 2019 9:38 am

ActiveXPoSHV3 method Execute()

Post by drunkUmka » Mon Mar 04, 2019 4:27 am

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.

User avatar
Alexander Riedel
Posts: 7053
Joined: Tue May 29, 2007 4:43 pm

Re: ActiveXPoSHV3 method Execute()

Post by Alexander Riedel » Mon Mar 18, 2019 6:33 am

That is quite an old component, there might not be any way to do that. I'll will double check.
Alexander Riedel
SAPIEN Technologies, Inc.