2016-10-06 10:00 AM
With Microsoft's release of PowerShell for Linux and macOS followed by VMware and AWS's announcements I'm wondering if there is interest in our community for NetApp's PowerShell Toolkit to go cross-platform.
I'm just throwing this topic open as a user myself, I know I'd be interested.
very cool demo video: https://www.youtube.com/watch?v=cfKKjTXMvlo
2016-10-06 10:37 AM
Definitely interested in this. Being anchored to a windows host to run PS scripts is sub-optimal, especially in a mostly unix shop. Having to explain to a customer that we would like a windows vm/host to run PowerShell scripts/Ontap toolkit cmdlets is a hard conversation. Thank you.
2016-10-06 07:07 PM
That would be very useful. My vsim tooling is split up between bash for local OSX stuff and powershell/PowerCLI for ESX hosted stuff. Some things are just more convenient in one or the other. Between the Windows Subsystem for Linux and powershell moving into the *nix space I'm hoping to reuse a lot of code.
2016-10-07 03:43 AM
Its a great idea - though I can not see a Linux admin letting powershell anywhere near production servers.
Better to learn Perl and or Python then you might get lucky
2016-10-07 05:25 AM
First, I'd like to say thank you to everyone for your contributions to the community and for voicing your opinions regarding adding support for the PSTK to run on Linux. Please know that it is not unnoticed, and I encourage everyone with an interest in seeing the PSTK on Linux to contribute to this thread.
Second, I am also very much in support of having the toolkit available on Linux. Having a single, easy to use, extremely common, and well supported scripting language avaiable across platforms would be a tremendous benefit for the automation, administrative, and even development communities. Combine this with something like containers and we now have a completely portable automation environment that could be used by anyone with almost zero barrier to entry.
2016-10-07 05:57 AM
Absolutely! Being able to move scripts from the toolkit back and forth on various servers no matter what the OS of the day for any given group is would be a win. Imagine when next my customer's support group swings that we have to move back to *NIX and I could simply move every powershell script over and update a few lines and have them running again.
2016-10-07 07:17 AM
From my perspective: ... the languages I've learned in last decade inlcude (in order) perl, powerShell and python ... and in the last 3-4 years doing NetApp API sort of work with those languages. The languages themselves are "drops in the bucket" compared to the ease or complexity of the device/vendor APIs themselves when you compare NetApp's PSTK versus NMSDK w/perl-or-python.
I think if using NMSDK were as simple and integrated into python's object-framework as PSTK is into PowerShell's object-framework I wouldn't care much about seeing PS+PSTK on linux/macOS. I'm just interersted in a decent NetApp-toolkit API working with any language on non-windows platforms. If it's PS+PSTK so be it. If it's a better API/framework for perl/python, I'd take that too.