WinBatch Technical Support Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
WinBatch+Compiler
2019C Beta
released.
Home
Help
Search
Tech Database
Downloads
Hints
Login
Register
WinBatch Technical Support Forum
»
Archived Boards
»
COM Automation and dotNet
»
Powershell automation - how to pass an argument(s) to the script
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Powershell automation - how to pass an argument(s) to the script (Read 2630 times)
reed@chelseagroup.com
Newbie
Posts: 1
Powershell automation - how to pass an argument(s) to the script
«
on:
February 02, 2014, 05:59:52 pm »
How to pass an argument to a powershell script executed using objectCLROption ...
Logged
td
Tech Support
Posts: 3103
Re: Powershell automation - how to pass an argument(s) to the script
«
Reply #1 on:
February 03, 2014, 07:54:48 am »
Your question lacks enough detail to provide a complete answer but take a look at the following scripts in the Tech. DB. It illustrates running PowerShell commands using WinBatch's CLR subsystem.
http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/dotNet/System_Management/Automation/PowerShell+Invoke~PowerShell~Commands.txt
and
http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WinBatch/dotNet/System_Management/Automation/PowerShell+PowerShell~Invoke~Command~with~Grid~PassThru.txt
Logged
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
- Dr. Tom Cade
Print
Pages: [
1
]
Go Up
« previous
next »
WinBatch Technical Support Forum
»
Archived Boards
»
COM Automation and dotNet
»
Powershell automation - how to pass an argument(s) to the script