All of .NET at Your Fingertips

Under every cmdlet is .NET, a library of thousands of ready-made tools, and PowerShell reaches any of them directly: a type in square brackets and :: call its static members, such as [Math]::Round, [IO.Path]::GetExtension and [Guid]::NewGuid(), and Add-Type compiles a few lines of C# into tools of your own.

Updated

Cheat sheet for the lesson All of .NET at Your Fingertips: Under every cmdlet is .NET, a library of thousands of ready-made tools, and PowerShell reaches any of them directly: a type in square brackets and :: call its static members, such as [Math]::Round, [IO.Path]::GetExtension and…
Category
PowerShell
Level
Freelancer
Tags
add-type, guid, net, net-types-in-powershell, powershell, Static Member