Open a SAPIEN Forum from PowerShell

UPDATE:  Added a -Search parameter that searches all SAPIEN forums for the term that you specify and then opens the page with the results. Thanks to Prasoon V. Karunan for the contribution.

I love helping people learn Windows PowerShell and SAPIEN products. I answer questions on Facebook, Twitter, Reddit (love the /r/powershell subreddit), Google+, Slack, email, in the line at Starbucks, etc.

But, I’m also a scripter, and I know the value of automation and efficiency. So, rather than answer one question for one person, I’d rather answer each question for many people. And, to get the best answer, I’d like to gather answers from many people.

That’s kind of efficiency requires a QA forum. SAPIEN hosts 19 different forums, including one for the trial version of our products, one for each product, and forums for different programming and scripting languages, including Windows PowerShell, VBScript, and “other languages.” They’re really handy. I often search the forums to find answers to my own questions.


I open the forums frequently enough that I wrote a little PowerShell script, Start-SAPIENForum.ps1, that opens the specified forum in your default internet browser.


If you don’t specify a value for the Name parameter, you use the ListOnly parameter, or the Name parameter value is ambiguous, the script returns custom objects that represent the matching forums. The objects include the name, URL, and description of the forums.

If you want to see the forum object, for example, to read the descriptions, use the ListOnly parameter.


Forum Hints

The forums are really valuable, but be sure to make the most of them.

  • Search for an answer before posting. You’re probably not the first person to ask that question.
  • Omit any licensing info or intellectual property.
  • When posting code, format it.


To post a question with code:

1. In the forum, click New Topic.


2. To add code to the topic, from the Select code dropdown menu, click a language.

3. Enter your code between the Codebox tags.




If you have improvements for the script, submit them on GitHub. And, if you have question, well, post them in a SAPIEN forum.

June Blender is a technology evangelist at SAPIEN Technologies, Inc. and a Windows PowerShell MVP. You can reach her at or follow her on Twitter at @juneb_get_help.