ThePowerShellGuy.com

Did you do your PowerShelling today ?
Welcome to ThePowerShellGuy.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » C# » PowerShell
  • 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 it is a bit hard to grasp, and we can not create enums within a namespace only ...
    Posted to The PowerShell Guy (Weblog) by MoW on June 2, 2008
  • 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.groups |% {$_.Translate([System.Security.Principal.ntaccount])} | select ...
    Posted to The PowerShell Guy (Weblog) by MoW on February 7, 2008
Powered by Community Server (Personal Edition), by Telligent Systems