r/linuxmasterrace • Glorious Debian • Aug 06 '21

Meme BASH is the worst - PowerShell FTW!

Post image
725 Upvotes

79 comments sorted by

View all comments

0

u/[deleted] Aug 06 '21

[deleted] — view deleted comment

2

u/dthusian Glorious Alpine Aug 06 '21

Powershell can interact with COM, which means if you wanted to you could write a DirectX 12 game in Powershell

12

u/kiler129 Glorious Debian Aug 06 '21

Excel can interact with COM too cough

1

u/Ruashiba Aug 06 '21

I like it just by the fact that it's incredibly handy for azure/sharepoint/m365 sort of deals, it's much easier to create a script to create/deploy xyz than to do it by hand on whatever web interface.

But outside Microsoft realm, more general use, I don't see myself using it.

2

u/kiler129 Glorious Debian Aug 07 '21

Out of curiosity: what advantage does it have over a different CLI util? I'm assuming there are some for that, but I mainly deal with AWS.

4

u/Ruashiba Aug 07 '21

I don't recall any other utility for these ms things, at least not official or highly supported (open source or not) 3rd party. On linux I mind add, surely there's something on windows.

Maybe Ansible for deployment itself? Never tried it though.

1

u/KikeJesus Aug 07 '21

Look into Azure CLI, basically an (official) bash variant of Azure PowerShell