Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ontap 9.0 mising API Get-NcNameServiceDNSStatistics and Get-NcDashboardAlarm
2016-10-31
12:37 PM
2,997 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears Get-NcDashboardAlarm and API Get-NcNameServiceDNSStatistics are not in Ontap 9.0. It works on 8.3.2P5.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John,
The CmdLet to API mapping is:
Get-NcDashboardAlarm = dashboard-alarm-get-iter
Get-NcNameServiceDNSStatistics = name-service-dns-statistics-get-iter
The "dashboard-alarm-get-iter" API is available in ONTAP9 but the "name-service-dns-statistics-get-iter" certainly isn't? I'm not sure why that is but one work around might be to use the "Invoke-NcSystemApi" CmdLet to invoke the ZAPI if the CmdLet isn't available..
/Matt
If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks but neither works for me. I don't see the dashboard-alarm-get-iter in my library in PowerShell. Is this avaiable to everybody?
dashboard-alarm-get-iter : The term 'dashboard-alarm-get-iter' is not recognized as the name of a cmdlet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dashboards no longer exist in ONTAP 9, so that set of APIs (and consequentially cmdlets) will not work. Looking at the API documentation, the ZAPI "name-service-dns-statistics-get-iter" doesn't exist in ONTAP 9 either.
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
