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
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
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
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
This article is the next installment in our PowerShell Studio Project series and covers the basics of working with Windows Service Projects. Windows Services are programs that run in the background, with no user interaction. Services can start automatically when…
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
PowerShell modules are an important part of PowerShell scripting as they provide a means to reuse and share code. The next part in our PowerShell Studio Project series is about the basics of working with module projects in PowerShell Studio.…
Read More
Using the project functionality in PowerShell Studio makes it easier to manage multi-file scripts, create multi-form GUIs, and create script modules.
To create a new project in PowerShell Studio, open the File menu, select the New tab, then select Project:…
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