A new PowerShell book is available, and it’s worth your while. It is created as a “cookbook” so you don’t have to read it all at once but rather pick and choose whatever “recipe” you need on any given day.…
Read More
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 in PowerShell Studio’s designer.
Setup
To load the WebView2…
Read More
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 could run Update-Help, and PowerShell would update the locally stored help…
Read More
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 result.
Splitting code between the functional blocks and the code you…
Read More
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 application. Most installers will require admin…
Read More
We are pleased to announce the addition of PowerShell 7 support with the PowerShell HelpWriter 2023 release (3.0.56).
You can now select the PowerShell Version at the bottom of the Select Module dialog:
The modules listed are from the $PSModulePath…
Read More
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 Documents folder path could be:
C:\Users\<user>\OneDrive\Documentsor C:\Users\<user>\Documents
There are many…
Read More
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 the problem of opening a PowerShell…
Read More
As a follow-up to our Advanced PowerShell Functions: Begin to Process to End article, the following article will dive deeper into the CmdletBinding attribute.
Let’s start with defining a function:
Function Test-ScriptBlock
{
[CmdletBinding()]
Param
(
[Parameter(ValueFromPipeline)]
[int[]]
$Numbers…
Read More
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 before packaging takes place. So if you need to copy dot-sourced files…
Read More