Quantcast
Channel: Windows PowerShell - SAPIEN Blog
Browsing index pages (309 articles)

Changing icons and hover text in PowerShell tray applications

We have recently been asked how the tray icon of a script packaged with PowerShell Studio or PrimalScript can be changed dynamically. This requires access to the NotifyIcon object, which was previously...

View Article


Fear not, Help is on the way

In the dark, cold age of pre-internet dawn computer software usually came with the two pinnacles of boomer technology: A manual and possibly a help file. ”Online help” would most likely have been...

View Article


PowerShell Studio and BinaryFormatter Class

With the release of PowerShell Studio 2025, we updated our Windows Form generated code to remove the BinaryFormatter class when loading image data for Images, Icons, and ImageLists. Security Risks of...

View Article

PowerShell Studio: WebView2 Control Support

The recent PowerShell Studio service builds include some changes to improve the handling of the WebView2 control. This article details the changes made and provides an overview of loading the control...

View Article

Help is on the Way

The features discussed in this article are available with PrimalScript 8.1.200 PowerShell Studio 5.8.238. When PowerShell 3.0 was released, one of its most lauded features was updateable help. You...

View Article


PowerShell Tools and Controllers: An Approach to Script Design

In this article, our guest blogger, Brent Challis, demonstrates how to use an incremental building block approach to PowerShell script design, allowing flexibility while keeping sight of the desired...

View Article

MSI Builder Step-by-Step: Custom Actions

The sixth part of our step-by-step series for the MSI builder explains custom actions. Custom actions enable you to do additional setup, removal, or repair—which you may not be able to do from your...

View Article

MSI Builder Step-by-Step: PowerShell Modules

This part of the MSI Builder Step-by-Step series is a re-post of a previous article on adding PowerShell modules to your Installer. As all the information is recent and there have been no changes, you...

View Article


Script Packager: Visual Progress Control

The latest versions of the Windows Application engines supplied with the Script Packager in PrimalScript 2023 (8.1.187) and SAPIEN PowerShell Studio 2023 (5.8.226) contain a little new feature you may...

View Article


PrimalScript and Windows Terminal

Some time ago, Microsoft introduced Windows Terminal, which has now replaced the default console on Windows 11 (since 22H2). Having a tabbed environment and the ability to mix and match different...

View Article

What is new with PowerShell ModuleManager?

We released a new service build of PowerShell ModuleManger 2023 (v2.0.19), which includes PowerShell 7 support. This service build is included as part of the regular update cycle for our subscribers....

View Article

Gimme Gimme Color

In PrimalScript 8.1.182, we added an option to the current packager engines allowing you to adjust the colors of specific output categories. This change will also be included in a future PowerShell...

View Article

Why is my form fuzzy?

So you downloaded PowerShell Studio and designed the latest and greatest PowerShell application. Much blood, sweat, and coffee went into endless hours of pushing controls pixel by pixel, sizing things...

View Article


Packaging PowerShell Scripts for ARM64

ARM processors have been part of the Microsoft Windows computer infrastructure for some time. Windows 10 officially started supporting it back in 2017. I am intentionally leaving out Windows 8 on...

View Article

Modules, Modules, Modules

This article provides an overview of a new feature introduced in PrimalScript 8.1.179 that allows you to add modules to the MSI file that installs your PowerShell application. Modules are a substantial...

View Article


Where is the Documents Folder?

In this article, our guest blogger—Brent Challis—provides a different approach to retrieving the correct Documents folder. The Problem One of the problems working with multiple computers is that the...

View Article

Sudo for PowerShell – or – I meant to open the shell with elevated privileges!

In this article, our guest blogger—Brent Challis—provides an example of how to emulate the Linux sudo (super user do) command in PowerShell. I am confident that I am not the only person to experience...

View Article


Script Packaging Step-by-Step: Custom Build Commands

The last installment in our series about the SAPIEN Script Packager introduces the Custom Build Command settings. This process is pretty straightforward. Any specified Pre-build command is executed...

View Article

Script Packaging Step-by-Step: Version Information

We examine Version Information in this post as we continue our series about the SAPIEN Script Packager settings. File Properties Version Information is stored in the resources of an executable file. A...

View Article

Script Packaging Step-by-Step: Embedding Credentials

Our Script Packaging series continues with an introduction to the Script Packager Credentials feature. These days modern security mechanisms frequently work without passwords or user IDs. Instead,...

View Article
Browsing index pages (309 articles)


Latest Images