This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
This topic is 4 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.165
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17763.0
I have a little snippet that checks to see if a server is online - if so launches iexplore and the site.
However, once the site is successfully launched (it runs through four sites)
I would like it to close the Powershell Studio App automatically.
Thoughts?
Thanks!
~P.
Are you running this script through PowerShell Studio and when its done you would like PowerShell Studio to close?
If you are running this script from PowerShell Studio, I would suggest using the packager to package the script into an exe that you can run without using PowerShell Studio.
You can use the cmdlets get-process and stop-process to close PowerShell Studio.
This is a compiled app using PowerShell studio for our help desk.
The app scrolls through some web servers.
When it hits a web server that is up, it launches the web site in a browser.
After the web site is launched -
I would then like the PowerShell compiled exe to close automatically without having to click File | Exit
Thanks!
~P.
This topic is 4 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.