PMP Style .global

PMP Style .global

Software engineer page

MENU

PowerShell

Hide window when running PowerShell scripts in Task Scheduler

Whenever you run a PowerShell script, a PowerShell window opens. You don't want windows to appear in cases where you want the script to run in Task Scheduler. I will explain how to execute the PowerShell script with the window hidden. JScr…

Run the shortcut file from PowerShell

Explains how to execute the link destination of the shortcut file from PowerShell. First, the shortcut creates a filter function with the help of Wsh (Windows Script Host). If you make a filter, it can also be used as a pipe, so it is conv…

Pass multiple arguments to a function by reference

PowerShell is a quirky language, and it's often confusing because it has a slightly different grammar. It's also hard to use arguments passed by reference in a function. In a new language, you get stuck in such a basic place. Step 1 Adding…

Launch a PowerShell script on your network from a batch file

I will explain how to start a PowerShell script in the network from a batch file. Make it versatile enough to work wherever you place a PowerShell script and a startup batch file as a set. Overview Commentary Solution 1 Network drive Solut…