From the course: PowerShell: Functions for Advanced Automation
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
How .NET works with PowerShell
From the course: PowerShell: Functions for Advanced Automation
How .NET works with PowerShell
- [Instructor] By the most strict of definitions, an advanced PowerShell function is one that binds common parameters and applies custom ones. But there are more things that PowerShell can do for those that want to take their skills to an advanced level. One of those is understanding the role that .NET plays in PowerShell, and how you can use it to unlock more features and access. The .NET framework is required to run Windows PowerShell, so whether you're aware of it or not, you've been using .NET already. The .NET framework is a set of APIs that are the same on every Windows computer. This gives you consistent, reliable access to all kinds of system components. Many of the PowerShell cmdlets that you already know use the .NET framework to gather and set information. Let's take a look at one simple example. The cmdlet Get-Date is a common starter cmdlet in PowerShell because it's easy to figure out what it does and even easier to use. But where does Get-Date get the date from? Let's…
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.