Add to Technorati Favorites
Welcome to ThePowerShellGuy.com Sign in | Join | Help

Browse by Tags

All Tags » C#   (RSS)

PowerShell V2 CTP2 : making Custom Enums using add-Type

In PowerShell Enums are used a lot but you're not able to create them directly in PowerShell I made a post about a workaround using reflection on my old blog here : /\/\o\/\/ PowerShelled: PowerShell : making Custum Enums ,as this is using reflection
Posted by MoW | 5 Comments
Filed under: , , ,

Which Groups Does WindowsIdentity.Groups Return? (C# vs PowerShell)

A very interesting post : Which Groups Does WindowsIdentity.Groups Return? Also very interesting is comparing the code in C# + .NET 3.0 in this article against this PowerShell example : $wi = [System.Security.Principal.WindowsIdentity]::GetCurrent() $wi
Posted by MoW | 3 Comments
Filed under: ,