zlacker

[return to "The Case for Nushell (2023)"]
1. UltraS+ww[view] [source] 2026-01-07 18:14:06
>>raveni+(OP)
If you haven't tried PowerShell I strongly recommend you do. It is really well designed and the way objects are piped between commands is brilliant and very powerful. Combined with property filters you can do SQL like queries. The ConvertTo-JSON lets you export the output of any command to JSON which is amazingly useful. As an example you can dump the entire Active Directory (Assuming you have permissions) by

Get-ADObject -Filter * -Properties * | ConvertTo-JSON > ADObjects.json

And you have access to ALL of the .NET library.

◧◩
2. haolez+zz[view] [source] 2026-01-07 18:25:30
>>UltraS+ww
Until you have to quote a string that has ampersands in it :)
◧◩◪
3. jborea+7z5[view] [source] 2026-01-09 02:47:59
>>haolez+zz
& has no special behaviour in strings, backticks and $ on the other hand do. For example "&Some String&" and '&Some String&' are all the literal value `&Some String&`. Backticks and $ are special in double quoted strings as they are the escape character and variable reference chars respectively.
[go to top]