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…](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/720a13d1cf9e4e479c56cd4a33f2dc77.webp)
- Category
- PowerShell
- Level
- Freelancer
- Tags
- add-type, guid, net, net-types-in-powershell, powershell, Static Member