ActiveXPoSHV3 method Execute()
Posted: Mon Mar 04, 2019 3:27 am
Hi
Please, tell me.
Powershell script С:\PSScript.ps1
in the PS shell we write:
all right
How to pass parameters ($src $dst) using ActiveXPoSHV3 method Execute()?
Аny other without parameters, write Execute(FileNameScript) - all right.
Please, tell me.
Powershell script С:\PSScript.ps1
Code: Select all
param ($src $dst)
copy-item $src $dst -force
Code: Select all
С:\PSScript.ps1 "C:\test1" "C:\test2"
How to pass parameters ($src $dst) using ActiveXPoSHV3 method Execute()?
Аny other without parameters, write Execute(FileNameScript) - all right.