4 ms·
> I am dead serious. Powershell should replace (bash) shell scripting under any Linux. This probably means you don't have a CS background and/or very little ex
by dntbnmpls 6y ago
> I am dead serious. Powershell should replace (bash) shell scripting under any Linux.
This probably means you don't have a CS background and/or very little experience with linux/scripting/etc and dare I say powershell itself. Scripting in linux/unix/etc is primarily text based whereas powershell is object based ( which is why powershell tends to be slow in comparison ). Also, the only thing going for powershell is it's tie-in with the .Net Framework along with Microsoft based servers ( such as SQL Server ). Like most Microsoft products, it's meant for their environment. There really isn't any real reason for powershell on linux.
> I find shell scripts terrible, I've learned to switch to Python quickly, despite the overhead. Powershell is very command-line friendly, with easy tab-completion of commands. I've worked with it extensively on Windows, creating large worklflows with it, it's very nice.
Sounds about right. I can't believe that's what you wrote in support of powershell. Linux, bash, etc was built from the ground up to be command-line friendly. Windows was built to be GUI friendly. But there is a reason why windows administration is viewed as a joke in the tech industry. I guess powershell may seems amazing when going from GUI based administration to actual script based automation/administration.
> Powershell even has a unit test tool called 'pester' which is funny to me because it means 'bully' in my native language.
Yeah, it means bother/annoy in english, but you probably knew that already.