Subscribe
Highlighted

NetApp PowerShell Toolkit 4.3 released!

Dear PowerShell community,


We are glad to announce the release of NetApp PowerShell Toolkit version 4.3. This unified release has enhancements for both ONTAP and SANtricity modules.

 

ONTAP PowerShell Module:
The latest release adds upto 2050 cmdlets and provides complete API coverage for ONTAP 9.1 and is backward compatible with previous ONTAP releases.

 

SANtricity PowerShell Module:
The latest release adds upto 285 cmdlets and has the following enhancements: 

  • Provides ability for direct communication with E2800 storage array (SANtricity Web Services Proxy is not required)
  • Advanced Analytics (CPU Utilization, Interface stats, Controller stats)
  • ASUP support
  • Verbose and Windows Event logging support
  • Improved context help with examples
  • Improved error messages

Download the PowerShell Toolkit 4.3 from here


Regards,
NetApp PowerShell Toolkit Team

Re: NetApp PowerShell Toolkit 4.3 released!

Nice job.

 

Just want to confirm the number of cdot cmdlets

 

1375

 

I only say that b/c I run get-natoolkitversion and it says 4.1 after upgrade w/out reboot

Re: NetApp PowerShell Toolkit 4.3 released!

It is approximately around 1418 cdot cmdlets

Re: NetApp PowerShell Toolkit 4.3 released!

get-nchelp.count shows 1375

Re: NetApp PowerShell Toolkit 4.3 released!

You are right, this is due to some issue in help system. I have reported this, and it will be fixed in the upcoming release. Thanks for pointing it out.

Re: NetApp PowerShell Toolkit 4.3 released!

putting this in the 4.3 thread since it seems to be a version specific issue:

 

this worked fine in the previous version of the toolkit:

Update-NcVol -Query $Query -Attributes $attributeTemplate

 

but in 4.3 FlexGroupVolume is listed as a required parameter - which seems to break the above syntax

 

 

Re: NetApp PowerShell Toolkit 4.3 released!

[ Edited ]

Thanks for pointing it out. This is an issue and has been reported as a bug.

The 'FlexGroupVolume' parameter is added for ONTAP 9.1 and is inadvertently put as a mandatory parameter. This will be resolved in the next relase.

Till then could you please try a workaround. Modify the command as 

 

Update-NcVol -Query $Query -Attributes $attributeTemplate -FlexGroupVolume:$false

If you are using this command in multiple places, then you can define a custom function named as 'Update-NcVol' at the beginning of the script, which will override the PSTK cmdlet Update-NcVol. Within this custom function, call the PSTK module specific cmdlet.  In this manner you need not change your script at every occurance of this cmdlet. 

function Update-NcVol($query, $attributes)
{
     DataONTAP\Update-NcVol -Query $query -Attributes $attributes -FlexGroupVolume:$false
}

Hope this solves your problem

 

Re: NetApp PowerShell Toolkit 4.3 released!

I will add this to the 4.3 thread as well.

 

With the new features in later released of powershell, is there a need to use the update-ncvol and build queries.

 

I will admin, I've been using PS toolkit for 7-mode since 1.0 and the building queries and executing the commands is not that 'friendly'.

 

Is there another way that this can be done?

Re: NetApp PowerShell Toolkit 4.3 released!

how can i find their names ?

 

It is approximately around 1418 cdot cmdlets

 

i did get-nchelp ... but only cdots one any easy way to filter 

Re: NetApp PowerShell Toolkit 4.3 released!

@JGPSHNTAP I fear there is no other simpler way. You can try all Set-NcVol   cmdlet to modify few parameters. 

 

 

@Kirand1979

A crude way to do is 

 

Get-Help *-Nc*    # Gets all CDOT cmdlets

(Get-Help *-Nc*).count # Get the CDOT cmdlets count

 

Please wait for the next release, where there will be an easy way to query just the CDOT cmdlets.