PowerShell for IT Professionals [#14] – Scripting – Hello World!

In this lesson we will be preparing our workstation for writing PowerShell scripts. We will start by enabling RSAT and then install Visual Studio Code which is a recommended and free PowerShell code editor. We will then have a look at the basic function of VS Code and create a simple “Hello World” script. Exercises If you haven’t followed along, you definitely would like to install VS Code and create a *....

26 September 2020 · 1 min · 98 words · Kamil

Powershell – resolve full names to usernames from CSV file

It’s unbelievable how long it took me to figure out this simple Powershell script, but yet it does the trick :). Often you receive a request to do a certain action with a bunch of accounts, and (obviously) the list provided contains the full names rather usernames. Pain to do it manually, but yet we can utilise Powershell here. What you need: CSV file, with only one column, and the header of the column must be called “Name”, if you prefer to use something different, simply amend Name in line 6 to reflect your header....

21 October 2017 · 1 min · 181 words · Kamil