/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (1)

Posted by: clarkeg 12 years ago
Yellow Belt
0
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ