New ONTAP Cmdlets in the NetApp PowerShell Toolkit 4.2 (versus 4.0)

I’m a massive fan of the NetApp PowerShell Toolkit, and it’s time to upgrade to a new version, version 4.2. A bit remiss of me, I’ve missed out 4.1 (for 4.0 see this post from 31 October 2015), so this post compares v4.2 with v4.0. The NetApp PowerShell Toolkit unifies ONTAP and E-Series PowerShell Toolkits, and has been released to support ONTAP 9. For this post I’m just interested in Clustered Data ONTAP/ONTAP cmdlets.

It’s always useful seeing what’s new as it points to some of the new features.

Download and Install

Download the latest PowerShell Toolkit from -
Utility Toolchest > Administration > NetApp PowerShell Toolkit
- or this direct link -

Double-click the downloaded NetApp_PowerShell_Toolkit_4.2.0.msi to install.


Finding the Differences

Before updating the toolkit:

PS C:\> Import-Module DataONTAP
PS C:\> Get-NaToolKitVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
3      3      0      65

PS C:\> (get-nchelp).name > natoolkit330.txt

After updating the toolkit:

PS C:\> Import-Module DataONTAP
PS C:\> Get-NaToolkitVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
4      0      0      231


PS C:\> (get-nchelp).name > natoolkit400.txt
PS C:\> Compare-Object $(Get-Content natoolkit330.txt) $(Get-Content natoolkit400.txt) > differences.txt

Note: The NetApp PowerShell Toolkit version 4.0 had NaToolkit 3.3, and version 4.2 has NaToolkit 4.0.

The Differences

The NaToolkit has expanded by 219 ONTAP *Nc* cmdlets from 3.3 to 4.0. This takes the total number of ONTAP *Nc* cmdlets up to 1354!

New *Nc* Cmdlets:

Add-NcCluster
Add-NcClusterNode
Add-NcEmsEventFilterRule
Add-NcExportRuleClientmatches
Add-NcStorageIscsiInitiatorTarget
Clear-NcHaInterconnectOodErrorStatistics
Clear-NcHaInterconnectOodPerformanceStatistics
Clear-NcHaInterconnectPortCounters
Clear-NcHaInterconnectPortSymbolErrors
Connect-NcStorageIscsiInitiator
Copy-NcEmsEventFilter
Disable-NcHaInterconnectLink
Disable-NcHaInterconnectOodOptimization
Disable-NcHaInterconnectOodStatistics
Disable-NcMetroclusterPeriodicCheck
Disable-NcNdmpVserver
Disable-NcStoragePort
Disconnect-NcStorageIscsiInitiator
Enable-NcCloneSplit
Enable-NcHaInterconnectLink
Enable-NcHaInterconnectOodOptimization
Enable-NcHaInterconnectOodStatistics
Enable-NcMetroclusterPeriodicCheck
Enable-NcNdmpVserver
Enable-NcStoragePort
Get-NcAggrEfficiency
Get-NcAggrResyncOptions
Get-NcAuditLog
Get-NcCifsConnection
Get-NcCifsUserAndGroupMember
Get-NcCifsUserAndUserMembership
Get-NcClusterCreateProgress
Get-NcEmsEventCatalog
Get-NcEmsEventFilter
Get-NcEmsEventNotification
Get-NcEmsEventNotificationDestination
Get-NcEmsEventNotificationHistory
Get-NcEnvironmentSensors
Get-NcExportAccessCacheConfig
Get-NcFcpPingIgroup
Get-NcFcpPingInitiator
Get-NcFileFingerprint
Get-NcFileFingerprintStatus
Get-NcHaInterconnectAutoResetConfiguration
Get-NcHaInterconnectChannelStatus
Get-NcHaInterconnectConfigDetails
Get-NcHaInterconnectConnectionStatus
Get-NcHaInterconnectFlintFlashDetails
Get-NcHaInterconnectFlintImageDetails
Get-NcHaInterconnectFlushDetails
Get-NcHaInterconnectNvramConfiguration
Get-NcHaInterconnectOodStatus
Get-NcHaInterconnectPerformanceStatistics
Get-NcHaInterconnectPortDetails
Get-NcHaInterconnectSGLStatistics
Get-NcHaInterconnectTimeoutValues
Get-NcLicenseCapacity
Get-NcLicenseSubscription
Get-NcMetroclusterInterconnectIpfo
Get-NcMetroclusterOperationStatistics
Get-NcNameServiceNisBindingDetail
Get-NcNdmpNodeSession
Get-NcNdmpVserverAttr
Get-NcNdmpVserverSession
Get-NcNetDataLifCapacity
Get-NcNetDataLifCapacityDetails
Get-NcNetQosMarking
Get-NcPerfSamples
Get-NcQuotaPolicyRuleCount
Get-NcSecurityConfig
Get-NcSecurityKeyManagerBackup
Get-NcSecurityLoginCurrentUser
Get-NcSecurityProtocol
Get-NcSecuritySessionAppLimit
Get-NcSecuritySessionAppStats
Get-NcSecuritySessionLimit
Get-NcSecuritySessionLocLimit
Get-NcSecuritySessionLocStats
Get-NcSecuritySessionReqLimit
Get-NcSecuritySessionReqStats
Get-NcSecuritySessionRunningStats
Get-NcSecuritySessionUserLimit
Get-NcSecuritySessionUserStats
Get-NcSecuritySessionVserverLimit
Get-NcSecuritySessionVserverStats
Get-NcSnaplockComplianceClock
Get-NcSnaplockLogConfig
Get-NcSnaplockLogFiles
Get-NcSnaplockRetentionTime
Get-NcSnaplockVolAttr
Get-NcStorageArray
Get-NcStorageArrayConfig
Get-NcStorageArrayPort
Get-NcStorageIscsiInitiator
Get-NcStoragePort
Get-NcStorageShelfLocationLed
Get-NcSystemServicesWebNode
Get-NcVMInfo
Get-NcVMProviderCred
Get-NcVMProviderProxy
Get-NcVMSVsphereCred
Get-NcVMSystemDisks
Get-NcVscanOnDemandReport
Get-NcVscanOnDemandTask
Get-NcVserverAggr
Invoke-NcSecurityLoginExpirePassword
Invoke-NcStoragePortRescan
Invoke-NcVscanOnDemandTask
Merge-NcFileData
New-NcCluster
New-NcConsistencyGroup
New-NcEmsEventFilter
New-NcEmsEventNotification
New-NcEmsEventNotificationDestination
New-NcLicenseCapacity
New-NcLicenseSubscription
New-NcLunSerialNumber
New-NcMetroclusterPeriodicJob
New-NcNetExternalRouteTable
New-NcSecuritySessionAppLimit
New-NcSecuritySessionLimit
New-NcSecuritySessionLocLimit
New-NcSecuritySessionReqLimit
New-NcSecuritySessionUserLimit
New-NcSecuritySessionVserverLimit
New-NcSnaplockLog
New-NcSnaplockLogConfig
New-NcVMProviderCred
New-NcVMProviderProxy
New-NcVscanOnDemandTask
Remove-NcCluster
Remove-NcEmsEventFilter
Remove-NcEmsEventFilterRule
Remove-NcEmsEventNotification
Remove-NcEmsEventNotificationDestination
Remove-NcExportRuleClientmatches
Remove-NcMetroclusterPeriodicJob
Remove-NcNetExternalRouteTable
Remove-NcPerfSamples
Remove-NcSecuritySessionAppLimit
Remove-NcSecuritySessionLimit
Remove-NcSecuritySessionLocLimit
Remove-NcSecuritySessionReqLimit
Remove-NcSecuritySessionUserLimit
Remove-NcSecuritySessionVserverLimit
Remove-NcSnaplockFile
Remove-NcSnaplockLogConfig
Remove-NcStorageIscsiInitiatorTarget
Remove-NcVMProviderCred
Remove-NcVMProviderProxy
Remove-NcVscanOnDemandReport
Remove-NcVscanOnDemandTask
Rename-NcEmsEventFilter
Rename-NcStorageArray
Repair-NcFileserviceAudit
Repair-NcVserverPeerName
Reset-NcHaInterconnectNic
Reset-NcStoragePort
Reset-NcStoragePortDevice
Resolve-NcVscanHostnames
Save-NcConsistencyGroup
Send-NcHaInterconnectOodDiagnosticBuffer
Set-NcAggrResyncOptions
Set-NcClusterPeerLocalName
Set-NcDiskForeignLun
Set-NcEmsConfigProxyPassword
Set-NcEmsEventFilterRuleOrder
Set-NcExportAccessCacheConfig
Set-NcHaInterconnectAutoConfiguration
Set-NcHaInterconnectTimeoutValues
Set-NcIscsiInterface
Set-NcNdmpVserverAttr
Set-NcNetQosMarking
Set-NcSecurityConfig
Set-NcSecurityProtocol
Set-NcSecuritySessionAppLimit
Set-NcSecuritySessionLimit
Set-NcSecuritySessionLocLimit
Set-NcSecuritySessionReqLimit
Set-NcSecuritySessionUserLimit
Set-NcSecuritySessionVserverLimit
Set-NcSnaplockComplianceClock
Set-NcSnaplockLogConfig
Set-NcSnaplockPrivDelOption
Set-NcSnaplockRetentionTime
Set-NcSnaplockVolAttr
Set-NcSnapshotSnaplockExpTime
Set-NcStorageArray
Set-NcStorageArrayPort
Set-NcVMSVsphereCred
Set-NcVscanOnDemandTask
Set-NcVserverPeerLocalName
Start-NcDiskReplace
Start-NcFileFingerprint
Start-NcPerfAwa
Start-NcPerfObject
Start-NcVolReHost
Start-NcVolTransitionDowngrade
Stop-NcDiskReplace
Stop-NcFileFingerprint
Stop-NcNdmpNodeSession
Stop-NcNdmpVserverSession
Stop-NcPerfAwa
Stop-NcPerfObject
Stop-NcSecuritySessionCli
Test-NcEmsEventFilter
Test-NcEmsEventNotificationDestination
Test-NcHaInterconnectFlintFlash
Test-NcHaInterconnectFlintImage
Test-NcNetPath
Test-NcVMSVsphereCred
Update-NcEmsEventNotification
Update-NcEmsEventNotificationDest
Update-NcNameMappingHostname
Update-NcSecurityKeyManagerCertificate
Update-NcStorageShelfAcpFirmware
Update-NcStorageShelfLocationLed
Update-NcVMProviderCred
Update-NcVMProviderProxy

Outstanding work NetApp PowerShell Toolkit team!

Comments