Saturday, 11 October 2014

Data ONTAP PowerShell Toolkit 3.2

I needed to update the Data ONTAP PowerShell Toolkit on a system and noticed that version 3.2 was released on the 8th of October, just 3 days ago. Thet’s see what awesome new cmdlets we’ve got to play with!

Finding the Differences

Note: I’m mostly interested in *-Nc* commands for Clustered ONTAP, and this post only looks at those commands.

Finding the differences can be done direct from PowerShell without needing any script.

Before updating the toolkit from 3.1.1:

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

Major  Minor  Build  Revision
-----  -----  -----  --------
3      1      1      181    

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

After updating to 3.2:

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

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

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

The Differences

The toolkit has expanded by 126 cmdlets to 938 cmdlets over 3.1.1 (*-Nc* cmdlets from Get-NcHelp). There’s some very interesting looking new cmdlets. The list is below:

Add-NcStoragePool
Add-NcVserverAggregate
Add-NcVserverProtocol
Close-NcCifsSession
Close-NcCifsSessionFile
Disable-NcAggrAutobalance
Disable-NcCifsDomainPasswordSchedule
Disable-NcNetFirewall
Disable-NcNetFirewallLogging
Disconnect-NcClusterPeer
Enable-NcAggrAutobalance
Enable-NcCifsDomainPasswordSchedule
Enable-NcNetFirewall
Enable-NcNetFirewallLogging
Get-NcAggrAutobalance
Get-NcAggrAutobalanceAggrState
Get-NcAggrAutobalanceNotification
Get-NcAggrAutobalanceVolumeState
Get-NcAggrSpace
Get-NcAggrSpare
Get-NcAggrStatus
Get-NcAggrVerify
Get-NcCifsCharacterMapping
Get-NcCifsDomainPasswordSchedule
Get-NcCifsHomeDirectoryConfig
Get-NcCifsUserHomeDirectory
Get-NcClusterPeerAuthOffer
Get-NcClusterPeerConnection
Get-NcClusterPeerPolicy
Get-NcMetrocluster
Get-NcMetroclusterAggregateCheck
Get-NcMetroclusterAggregateEligibilityCheck
Get-NcMetroclusterCheck
Get-NcMetroclusterConfigDiff
Get-NcMetroclusterConfigReplication
Get-NcMetroclusterConfigReplicationCheck
Get-NcMetroclusterFailedLifPlacement
Get-NcMetroclusterInterconnect
Get-NcMetroclusterInterconnectAdapter
Get-NcMetroclusterInterconnectAdapterSwitch
Get-NcMetroclusterNode
Get-NcMetroclusterNodeCheck
Get-NcMetroclusterOperation
Get-NcMetroclusterProgress
Get-NcMetroclusterVserver
Get-NcNetArpActiveEntry
Get-NcNetArpEntry
Get-NcNetFirewall
Get-NcNetFirewallPolicy
Get-NcNetIpspace
Get-NcNetNdpActiveNeighbor
Get-NcNetNdpDefaultRouter
Get-NcNetNdpNeighbor
Get-NcNetNdpPrefix
Get-NcNetPortBroadcastDomain
Get-NcNetRoute
Get-NcNetRouteLif
Get-NcNetSubnet
Get-NcSnapmirrorHistory
Get-NcStoragePool
Get-NcStoragePoolAggr
Get-NcStoragePoolDisk
Get-NcStoragePoolSpareCapacity
Get-NcVserverConfigDiff
Invoke-NcMetroclusterCheck
Invoke-NcMetroclusterHeal
Invoke-NcMetroclusterSwitchback
Invoke-NcMetroclusterSwitchover
Invoke-NcVserverSanPurge
Merge-NcNetPortBroadcastDomain
Move-NcStoragePool
New-NcAggrMirror
New-NcCifsCharacterMapping
New-NcNetArpEntry
New-NcNetFailoverGroup
New-NcNetFirewallPolicy
New-NcNetIpspace
New-NcNetNdpNeighbor
New-NcNetPortBroadcastDomain
New-NcNetRoute
New-NcNetSubnet
New-NcStoragePool
Register-NcMetrocluster
Remove-NcCifsCharacterMapping
Remove-NcClusterPeerAuthOffer
Remove-NcNetArpActiveEntry
Remove-NcNetArpEntry
Remove-NcNetFailoverGroup
Remove-NcNetFirewallPolicy
Remove-NcNetIpspace
Remove-NcNetNdpActiveNeighbor
Remove-NcNetNdpDefaultRouter
Remove-NcNetNdpNeighbor
Remove-NcNetNdpPrefix
Remove-NcNetPortBroadcastDomain
Remove-NcNetRoute
Remove-NcNetSubnet
Remove-NcStoragePool
Remove-NcVserverAggregate
Remove-NcVserverProtocol
Rename-NcNetFailoverGroup
Rename-NcNetIpspace
Rename-NcNetPortBroadcastDomain
Rename-NcNetSubnet
Repair-NcMetroclusterLifPlacement
Resume-NcAggrVerify
Set-NcAggrAutobalance
Set-NcCifsCharacterMapping
Set-NcCifsDomainPasswordSchedule
Set-NcCifsHomeDirectoryConfig
Set-NcClusterPeerAuthOffer
Set-NcClusterPeerPolicy
Set-NcMetroclusterConfigReplication
Set-NcNetFailoverGroup
Set-NcNetFirewallPolicy
Set-NcNetPortBroadcastDomain
Set-NcNetSubnet
Split-NcNetPortBroadcastDomain
Start-NcAggrVerify
Stop-NcAggrVerify
Suspend-NcAggrVerify
Sync-NcMetroclusterVserver
Test-NcMetrocluster
Unlock-NcVserver
Unregister-NcMetrocluster
Update-NcNetFirewall

No comments:

Post a Comment