Crash bugs are generally spectacular; your application just—poof—vanishes! Or it shows error messages from the OS in foreign languages or with some indecipherable codes. Or maybe it generates 17 entries in the Windows application log. In the worst cases, it…
Read More
PSF files are PowerShell Studio’s Windows Forms (WinForms) files (PowerShell Studio Form). This file contains all the designer and script information in an xml format. Most code in a PSF file should be an event or function. Any code not…
Read More
When you download or copy a file from the internet or any other untrusted source, Windows will set an extended attribute to mark the file as “blocked”. This is an important mechanism that stops the execution of potentially malicious code.…
Read More
As a follow-up to our previous events blog, Basics: What is an event and how do I handle them?, this article will be about the basics of handling events in PowerShell Studio’s Designer. As previously stated, an event is a…
Read More
PowerShell is an object-oriented language built on .NET; object-oriented meaning everything is treated as an object and these objects can easily be extended or modified. An object is simply the programmatic representation of anything. Objects are usually considered as two…
Read More
The Window Forms designer in PowerShell Studio lets you cut (Ctrl+X), copy (Ctrl+C), and paste (Ctrl+V) controls within the current form as well as between other forms. When copying a control, it will retain the properties set on the control.…
Read More
In PowerShell you have two ways of including ‘other’ code in your script. Other code can be someone else’s code, your code from another project, or simply the way you organize your code into different files. Before we dive into…
Read More
No matter how carefully you lay out your plans and craft your code, you will always find situations where you need to hunt for a bug. It can be a simple logic flaw, an ill-placed copy and paste of code…
Read More
This blog post will get you started working with Git repositories in either of our SAPIEN editors—PowerShell Studio or PrimalScript.
In the following scenario, I will use an existing Git repository stored in Azure DevOps to demonstrate the process of…
Read More
The PowerShell pipeline can pass objects from one command to another, enabling output from a function to stream – or ‘pipe’ – as input into another command. In this article we will demonstrate how to leverage this functionality to seamlessly…
Read More