One feature of PowerShell Studio that you want to pay attention to is the PowerShell Cache Editor. When PowerShell Studio is opened for the first time, it creates a cache of all available cmdlets and modules that are on your local machine. The *cached cmdlets and modules are used to provide PrimalSense, syntax coloring for your […]
Category: Tip
Introducing the SAPIEN Information Center
Over the years, the articles in this blog have grown extensively. There’s a lot of valuable information in here, but it’s become hard to find because it’s mixed in with various tour announcements, special offers, conference recaps, and the like. So, we have decided to pull the important articles and place them—along with information relevant […]
Calling a method without parentheses
Late breaking news from PowerShell Conference Europe 2016!! During PowerShell MVP Chrissy LeMaire’s (@cl) knockout session at PowerShell Conference Europe 2016, “My Journey to 200,000 Rows a Second” (don’t miss the recording; I’ll tweet as soon as it’s available), PowerShell Principal Developer Bruce Payette (@BrucePayette) said that you can call the Where method without parentheses. […]
Setting Conditional Breakpoints
Applies to PowerShell Studio 2016, PrimalScript 2016, and later. I write lots of scripts — for production, for research, for testing, and for demonstrations. And, inevitably, I hit a bug. I’m actually relieved when I do, because no code is perfect and I’d rather find the bugs before my users do. In fact, I make […]
Giving a talk? PowerShell Studio Presentation Features
One of the best parts of the PowerShell community culture is the willingness of people at all levels of expertise to help others to learn. It acknowledges that we learn from each other all the time and pays backward and forward for help that others have given to us. So, there are many people giving […]
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, […]
Is there a PSEdit for PowerShell Studio?
My friend, Thom Schumacher, who has been leading the Arizona PowerShell User Group for the past few months, is getting to know PowerShell Studio. Like many of us, he came to PowerShell Studio from PowerShell ISE, so he looks for the “ISE way” to do things in PowerShell Studio. “How do I use PSEdit in […]
Enable WMI Explorer Windows 8 Remote Connection Permissions
Earlier in October, I posted a blog about remote connection failures that occur when using WMI Explorer on a remote computer running Windows 8. This solution doesn’t apply to computers running other versions of Windows. To sum it up, you need to make three changes for WMI Explorer to connect to a Windows 8 remote […]
Engine Type Prerequisites
When building executables in PrimalScript or PowerShell Studio there are various engine types to choose from, each of them with a prerequisite that must be installed on the machine that will be running your program. For example, if you build an executable in PowerShell Studio and select the SAPIEN PowerShell V2 Host (Command Line) Win32 engine then the .NET […]
Why does this button close my form?
Have you ever copied a button and found that when a user presses it, the form closes immediately afterwards? We are here to answer: Why does this button close my form? The reason the form closes is that the Button control’s DialogResult property is set to a value other than None. This property tells the […]