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
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 user can right-click on a file, select Properties,…
Read More
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, biometrics, access cards, trusted connections, etc., are usually far better mechanisms for authentication.…
Read More