3 ms·
You should check out PowerShell. It's based on exactly that concept. Everything is an object. `Import-Csv` and `ConvertFrom-Json` return objects that you can m
by brushfoot 5y ago
You should check out PowerShell. It's based on exactly that concept. Everything is an object.
`Import-Csv` and `ConvertFrom-Json` return objects that you can manipulate using LINQ or PowerShell's `*-Object` cmdlets (`Select-Object`, `Where-Object`, `Group-Object`, etc.). `Get-Process` returns objects representing your system's processes, `Get-Service` returns objects for your system's services, and so on.
Being able to chain that in your pipeline is incredibly powerful. You can send data into and out of CSVs and various other providers in a single line. It's a huge productivity boost.