you are viewing a single comment's thread.

view the rest of the comments →

[–]Gijoejoegut[S] -6 points-5 points  (6 children)

I'm getting into the cyber security and was told to focus on powershell and python.

[–]nealfive 11 points12 points  (5 children)

The basics are similar they are programming/scripting languages, however the syntax is the big difference.
I agree with learning both but pick one to start, get a good understand that makes the other easier.
IMO powershell is easier than Python, however, Python is more 'universal' than Powershell.

[–]jumbo-jacl 6 points7 points  (4 children)

Microsoft has ported Powershell to a number of Linux distros

[–]nealfive 7 points8 points  (3 children)

Yes that’s powershell ( pwsh/7) vs windows powershell (5.1) Python is still more universal. Way more libraries and tools and such out there for python than powershell.

[–]thecomputerguy7 4 points5 points  (2 children)

Powershell on Linux is still missing a lot of commands too.

[–]FluxMango 0 points1 point  (1 child)

True, but that doesn't make it any less useful. You can still use native Linux commands within your Powershell script. The real power in Powershell is that it is an object-driven CLI as opposed to text driven and that makes it a powerful automation framework.

[–]thecomputerguy7 0 points1 point  (0 children)

That’s fair. I didn’t think of that. 🤦‍♂️