Am 07.02.23 um 01:16 schrieb David C. Rankin:
On 2/6/23 15:07, Carlos E. R. wrote:
Can be installed on Windows, Linux, and macOS.
<https://learn.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.3>
Interesting move.
Can be used over ssh.
Used it quite a bit on windows, but always had to have to MS reference up. The two-word hyphenated commands don't stick in memory as well as the short shell commands. i use it since about 2019, also on linux.
Never really found it more capable in any way than bash. (other than native json handling -- but that's what jq is for).
there are many cool features, the most interesting feature is the object oriented approach. you can have classes/objects like in .net or java.
Even so, on my windows installs, I always set to option to keep command prompt and not replace it with PowerShell. If I want powershell -- I know where to find it in the menu...
PowerShell is in any way better than command prompt. there is nothing, which command prompt can do, what PowerShell can't do better. -- Best Regards | Freundliche Grüße | Cordialement | Cordiali Saluti | Atenciosamente | Saludos Cordiales *DI Rainer Klier* DevOps, Research & Development