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 article in our PowerShell Studio Project Series follows Forms and Multi-Form Projects.
Form
Form projects allow for objects or connections to be created before the initialization of the form; with a standalone form, you cannot initialize anything before the form.…
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
Having multiple individual scripts sitting around on your machine can make it difficult to stay organized. Collection projects can help you manage your scripts while utilizing the benefits of a project in PowerShell Studio.
This article is the next installment…
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