Загрузка...

.NET in PowerShell Explained — The Framework That Powers It

In this episode we will explore .NET in PowerShell to see how it all works.

------------------------- C H A P T E R S -------------------------
00:00 Intro
01:37 Exploring Types Basics (Name, Methods, Properties)
03:30 The Power of PowerShell: System.Objects
06:50 Explore .NET Types Directly (Old Method)
08:00 Explore .NET Types Directly (New Method)
08:56 Explore More Types using .NET directly
10:38 Setting Type Constraints
12:49 Omitting Namespaces with 'using'
15:13 Breaking Down Parts of a Class Being Used
18:22 Get Members & Arguments of a Class
19:56 Class Continued
21:46 Example 1 - Use List[T] over +=
25:11 Example 2a - Use LINQ - Compare DataSets via Strings
29:40 Example 2b - Use LINQ - Compare DataSets via Objects
31:45 Example 3 - Use Math Class
33:18 Example 4 - Credentials
35:04 Example 5+ - Honourable Mentions
37:10 Outro
------------------------- O V E R V I E W -------------------------
PowerShell is built on top of .NET, and most PowerShell scripts interact with .NET constantly often without explicitly acknowledging it.

Things like objects, properties & methods are all rooted in .NET behavior.
PowerShell abstracts a lot of this away, which is convenient early on, but it can also leave gaps in our understanding.

So I will try to unpack .NET in PowerShell as it relates to PowerShell with the intent of understanding this relationship deeper to really understand PowerShell itself deeper.

I will cover the following topics:
🔹Unpack data we interact with it's types and how it will all rooted in System.Objects. What that even means
🔹Including how it makes PowerShell powerful compared to say... bash (always fun to bash on bash)
🔹We will explore Classes, how they are the blueprints to everything we instantiate.
🔹We will explore their components (namespaces, members, arguments)
🔹Then we will explore some examples to highlight the power of .NET (list[T] vs +=, LINQ to compare large data, Use Math Class, Storing creds via .NET, etc)

With this we demystify .NET from PowerShell so we can start using it more confidently in our PowerShell Scripts.

Show your support:
🔔 Subscribe for more videos in the series: PowerShell Engineering
👍 Like this video.

Links:
⚙️GitHub: https://github.com/adeelautomates/PowerShell-Engineering-Series

#azure #m365 #entraid #powershell #dotnet

Видео .NET in PowerShell Explained — The Framework That Powers It канала Adeel Automates
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять