Why I do scripting
Use case
There are tasks that, while essential, quickly become repetitive and a "time consumer".
For example, during my first apprenticeship within a group of universities, when receiving a new PC to configure, one of the common steps was to install an antivirus.
If you rely on the manual method, it goes like this:
Access the shared folder
where the antivirus installation file is located (~10 seconds).
Identify the most recent .msi file
among the files (~3 seconds).
Run as admin
to start the installation (~3 seconds).
Click "Next" 3 times
to finalize the installation (~60 seconds).
PowerShell Script
After doing this a few times, I realized how repetitive and time-consuming this process becomes, especially when there are multiple computers to configure. That’s when I thought: Why not automate all of this?
That’s how I decided to create a PowerShell script. Here’s what it does:
In just a few lines of code, I transformed a repetitive task into a simple automated action.
And that’s what I love about scripting: saving time, reducing errors, and above all, making tasks more efficient.