RE: powershell scripting
Hi Guys,
I am just wondering whether ps can be called like vb script using execute VBScript in wise script
If anybody has gone through such experience, Please Let me know.
Thanks,
-MST
I am just wondering whether ps can be called like vb script using execute VBScript in wise script
If anybody has gone through such experience, Please Let me know.
Thanks,
-MST
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
clarkeg
13 years ago
Perhaps you may be able to work back from somebody elses work in WIX
http://0ptikghost.blogspot.com/2011/03/executing-powershell-scripts-silently.html
In theory it should just be a matter of calling
C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe & 'C:\scripts\powershell\yourFile.ps1'
but you'll need to be sure of the path. and the powershell execution policy
http://0ptikghost.blogspot.com/2011/03/executing-powershell-scripts-silently.html
In theory it should just be a matter of calling
C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe & 'C:\scripts\powershell\yourFile.ps1'
but you'll need to be sure of the path. and the powershell execution policy
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.