LINQ and PowerShell

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

  • Author
  • #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:

You must be logged in to reply to this topic.