LINQ and PowerShell

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of Forums Archives Forums Archives 5 years, 3 months ago.

  • Author
    Posts
  • #5909

    by willsteele at 2012-08-28 08:01:43

    I have seen a few examples of LINQ and PowerShell. Kirk demoed a good use, but, I was wondering, what might be some good, general thoughts about when it would be good to use LINQ instead of pure PowerShell. My understanding of LINQ is that it does a lot of what PowerShell already does (with type inference). Now, I know there is MUCH more to both LINQ and PowerShell than type inference. Since LINQ is not a native PowerShell capacity, I am just wondering what sort of functionality one might want badly enough to go through the trouble of incorporating it into scripts which PowerShell doesn't already do by itself.

    by poshoholic at 2012-08-28 18:55:56

    Here's a good example of what someone might want to do with this: http://bartdesmet.net/blogs/bart/archive/2008/06/07/linq-through-powershell.aspx.

You must be logged in to reply to this topic.