To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build:
32 or 64 bit version of product:
Operating system:
32 or 64 bit OS:
*** Please add details and screenshots as needed below. ***
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
Hi,
I have a Ps form which is working great but we d need to offer in html page for several reasons (offering the gun to lots of users f.e.).
Is there a way you can advise how to do this transition? There are some manuals on integrating power shell into an asp webpage but wondered if Sapien hasn't got a tool or advise on doing this.
Thanks for any input.
From form to html?
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION 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.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION 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.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: From form to html?
We do not have any conversion tools for this. We still have an ActiveX control that allows you to call PowerShell from an ASP page (server side):
https://www.sapien.com/downloads/
ActiveXPosh is located under Under Free Components.
https://www.sapien.com/downloads/
ActiveXPosh is located under Under Free Components.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: From form to html?
Thanks. Downloaded it, installed it, finally found where it was installed (no shortcut) then read the pdf. No clue what I am or it is supposed to do.
Re: From form to html?
Depending on your setup this might not be the best option, but you will have to install and instantiate the ActiveX COM on your webpage server.
From the serve side code, you have to call the COM object and run the PowerShell code via the Execute method:
Note: We don't officially support this COM component anymore but it is still available for use.
From the serve side code, you have to call the COM object and run the PowerShell code via the Execute method:
Code: Select all
ActiveXPosh.Execute("Get-WmiObject -class Win32_Service | Format-Table -property Name, State")
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.