From the course: PowerShell 7 Essential Training
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Work with PowerShell modules - PowerShell Tutorial
From the course: PowerShell 7 Essential Training
Work with PowerShell modules
- [Instructor] One of the ways that we can improve or enhance the PowerShell experience is to actually import modules. Now, this is done by utilizing a command called import module. Now the import module has various parameters that are available. You can see that as we click through them, there are a few simple ones. The first one is global, which will import it globally. We can go back and tap through and a prefix. We can add a prefix to the names of the actual cmdlets that have been imported. And then of course we've got the name of the module. Now, if I wanted to bring in a module, I could say PowerShell diagnostics and say import the module. What this will do is go and find that PowerShell diagnostics module and import it. Now, what I'm going to do here is just quickly go back to the PowerShell ISE for a second. Now of course, this isn't the window that we want to use, but for the purposes of this it helps us…
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.