From the course: Complete Guide to PowerShell 7
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Setting up PowerShell on Windows - PowerShell Tutorial
From the course: Complete Guide to PowerShell 7
Setting up PowerShell on Windows
- [Instructor] Now to get started with the terminal, it's important to set up some basic bits and pieces. Now, we talked on some of this when we kind of introduced the PowerShell Console itself, but what we have here is a couple of things that we can do to make sure that we are ready to start working with the PowerShell Console itself. So first off, we have what's called an execution policy, and we'll discuss this in more detail later on. But to initially set up PowerShell, and for us to actually execute PowerShell scripts, we need to understand the execution policy, and execution policy is either going to allow or disallow the execution of PowerShell scripts. And this is done by using the set execution policy command, and then you scope it to whatever it would be. Now you can see, I've got an example here that says set execution policy scope to the current user, which means whoever the current user is that's currently logged in, then it's scoped to that person. And then of course, we…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.