2014-01-07 02:42 PM
I am new to WFA, and wondering what development tool I should use, Powershell or perl which seems two options I can use for WFA operations. I wanted to ask experienced exerts here, what tool would be better suited, considering adopting / integrating any existing modules/libraries. I don't want to be too late in the middle of the development when I find one tool is not better than the other.
Is there any issue on using Perl over Powershell? Since personally I like perl, although both is new to me.
2014-01-07 03:05 PM
The majority of WFA Commands are written in Powershell as this is built into Windows, although newer WFA include Perl in the bundle so you can use either easily. I'd probably suggest powershell if you don't have experience in either, as powershell tends to be easier to learn. You could use a GUI like PowerGUI to help. If you run the shell interactively, load the <WFA-Install-Dir>/PoSH/profile.ps1 to include the WFA-specific powershell extensions.
2014-01-07 09:27 PM
PowerGUI... not used it but I think I should try. I hope it doesn't need a license.
Answering to the original post, Powershell beats Perl hands down in every single respect one can think of. Also WFA current infrastructure aids the command development in Powershell. Discover parameters, different parameter input types etc.. all work with Posh commands.
If you like Perl, you are going to love Powershell. Use Posh3.0 or 4.0.
2014-01-07 11:11 PM
I agree with Mgoddard.Most of the WFA commands written in PowerShell.
But I heard that Perl WFA commands going to be included in next release.Is it true?.I am not very much sure.
As per my knowledge,Most of the Storage Admin's are familiar with Perl compared with PowerShell. One reason is Perl is platform independent.
2014-01-08 12:00 AM
@ But I heard that Perl WFA commands going to be included in next release.Is it true?.I am not very much sure.
Certified Perl commands have been in WFA since WFA2.0. Many more Protection related commands were added in WFA2.1.
@ As per my knowledge,Most of the Storage Admin's are familiar with Perl compared with PowerShell.
Possible. Its just a user choice which he/she has to make based on his comfort level. But as said earlier based on personal experience of using both, I'll always pick Powershell.
@One reason is Perl is platform independent.
Only thing is WFA is platform dependent. And on Windows platform, posh works best.
2014-01-08 06:21 AM
I like perl, powershell annoys me greatly. That said all major development and most if not all NetApp new development uses powershell
David Blackwell, NCDA
2014-01-08 06:22 AM
While there is a Linux virtual app version of WFA in development it unfortunately will be feature stripped down. It will lack any and all windows lun configuration abilities (host side) as well as a few other items.
David Blackwell, NCDA