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
If there’s ever anything you want to alter when it comes to your SAPIEN Technologies user experience, submitting a Feature Request is the first step to making it happen.
The process of making a feature request was discussed in a…
Read More
In this installment of our Script Packaging series, we explore the Output Settings. Most settings on this page have a reasonable default; we will address each setting and its alternatives.
Output settings
We will start with the Output settings group.…
Read More
1. Why can’t I sign scripts with my TLS/SSL certificate?
Transport Layer Security (TLS) and its predecessor, Secure Sockets Layer (SSL), use encryption to transfer data securely between clients and servers. Certificates are issued with their intended purpose coded and…
Read More
With the latest service build of PowerShell Studio (5.8.201), we have added a new control—WebView2—to our Toolbox pane along with a new file template. The WebView2 is a modernized, updated control of the WebBrowser control. WebView2 uses Microsoft Edge (Chromium)…
Read More
With the PowerShell ModuleManager 2022 release, we have added the ability to install a list of modules from a file. This feature is helpful if you need to install multiple modules at once or if you are moving from a particular…
Read More
If you ever find yourself unable to locate your valuable source code for a packaged script, there is no need to worry. SAPIEN Technologies offers a Code Recovery service for our PrimalScript, PowerShell Studio, and DevOps Suite customers.
In this…
Read More
When you set up script signing in PrimalScript or PowerShell Studio, you see a field called “Time Stamp”. It has a large list of URLs for time stamp servers to choose from.
What does this do and why do you…
Read More
SAPIEN’s PowerShell Studio and PrimalScript products both include integrated Pester testing. In this article, we will cover some changes in the Pester 4 to Pester 5 upgrade.
The most significant change in the release of Pester 5 is that it…
Read More
We’ve just updated our online PowerShell Reference by adding two new sections, 1,706 cmdlets (bringing the total to 5,187!), and some minor enhancements to the cmdlets section. PowerShell Reference contains help for Windows PowerShell and PowerShell modules. This tool allows…
Read More