From the course: Introduction to IT Automation

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Using PowerShell scripts to automate Windows

Using PowerShell scripts to automate Windows

From the course: Introduction to IT Automation

Using PowerShell scripts to automate Windows

- So let's talk about how we automate some of those things within PowerShell. So, first off, let's talk about how we launch multiple applications. So I'm in Visual Studio Code here, and first off, you'll notice that in the bottom section, I have a PowerShell integration window. If I just choose the drop down, you can see, I can launch various types of consoles. So this will just be regular PowerShell. And then up here, I've got a folder structure that talks about the things that we're going to do. So, first off, let's talk about the launching of multiple applications and I'll click into my app.ps1. Now, first off, just so you know how Visual Studio Code works, I can select a specific line, right click here and choose run selection and that will run that piece of code in this bottom section. So fairly straightforward. Now, obviously we previously talked about launching multiple applications and what that would look…

Contents