52 karma · joined Sep 30, 2010 (16y ago) · 17 submissions
comment 1y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 10y ago · link · parent
comment 11y ago · link · parent
I don't think something like Python would have been a good choice to use instead of PS. While I'm sympathetic to the complaint that PS is more of a programming language than a shell, that's even more true of Python. I use PS as a shell far more often than I use it for complicated scripting, and as much as I like Python, I just can't see using it as a shell.
comment 11y ago · link · parent
comment 11y ago · link · parent
I guess what I always want to know when people complain about powershell is what they were actually trying to do. I think it's an excellent tool for system administration in a Microsoft environment. When you start moving away from that use case, it gets less and less useful.
comment 11y ago · link · parent
The other place you see providers in use is when you use PS to edit the registry, but it's HKLM:\ (or whatever other hive) instead of IIS:\, and it makes a lot more sense there since people naturally think of the registry in a filesystem sort of way.
More info if you're curious about providers:
https://technet.microsoft.com/en-us/%5Clibrary/Ee126186(v=VS...
10.
In defense of PowerShell(benwilson.me ↗)
56 points · by Raesan · 11y ago · 78 comments
comment 11y ago · link · parent
(Select-String "pattern" -Path file.txt).Line > t.txt
Select-String "Pattern" -Path file.txt | Select-Object -ExpandProperty Line > t.txt
Or equivalent to the second example but with shortcuts: sls pattern -path file.txt | select -exp line > t.txt12.
LibreOffice developers demo collaborative editing prototype(arstechnica.com ↗)
2 points · by Raesan · 14y ago · discuss
comment 14y ago · link · parent
Probably not perfect, but better than nothing.
comment 14y ago · link · parent
comment 15y ago · link · parent
You have to hold your phone next to the speakers on my computer and record the greeting by playing the tone since the tone you get from pressing the number on your phone isn't picked up by Google Voice, for whatever reason.