Dissecting a .NET Core Object

.NET Core works on a cross-platform standard Common Language Infrastructure. Therefore, it has been possible to encapsulate the internal workings of Linux using .NET Core. As we would see in the future chapters, PowerShell is object-oriented, just like .NET Core. For this demonstration, we would pick a simple system class, called System.IO.DirectoryInfo to show information about a certain directory. We will also compare the output .NET Core object to the output of a PowerShell cmdlet which also shows information about a certain directory.

You do not have to remember the names of the .NET Core classes, methods or their syntaxes to work with PowerShell; that's the whole point of the existence of PowerShell.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.152.162