Subscribe
Accepted Solution

How to add license for cmode setup using powershell toolkit?

Can somebody please helpme out with cmdlets for Add or remove of license for CIFS.

PS C:\Users\rashidn\Contacts> Get-NcSystemApi *license*

Name                                              License         IsStreaming

----                                                         -------         -----------

interim-license-list-get

interim-license-remove

interim-license-set

But didnot get any cmdlets

Re: How to add license for cmode setup using powershell toolkit?

Why don't you use Add-NcLicense, to add license.

--------------  Example 1 --------------

C:\PS>Add-NcLicense AAAAAAAAAAAAAAAAAAAAAAAAAAAA

   

Add the license to the current cluster.

Foer more help type in

Get-Help Add-NcLicense -Detailed

Re: How to add license for cmode setup using powershell toolkit?

I have 3.0.0.87 dataontap powershell toolkit installed.

When I tried the command which you have mentioned, i saw the below listings.

PS C:\Users\rashidn\Contacts> Get-Help Add-NcLicense -Detailed

  Do you want to run Update-Help?

The Update-Help cmdlet downloads the newest Help files for Windows PowerShell modules and installs them on your computer. For more details, see the help topic at http://go.microsoft.com/fwlink/?LinkId=210614.

[Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"): y

Get-Help : Get-Help could not find Add-NcLicense in a help file in this session. To download updated help topics type: "Update-Help". To get help online, search for the help topic in the TechNet library at

http://go.microsoft.com/fwlink/?LinkID=107116.

At line:1 char:1

+ Get-Help Add-NcLicense -Detailed

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException

    + FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand

Re: How to add license for cmode setup using powershell toolkit?

Please punch in Y and continue, it is to download the latest help files from the microsoft site.

i feel that your module might not be imported, but i do see that you are using powershell v3

can you try

import-module dataontap

then try

Get-Help Add-NcLicense -Detailed

Re: How to add license for cmode setup using powershell toolkit?

Re: How to add license for cmode setup using powershell toolkit?

     Thanks for the location. I installed it. It is 3.0.0.90 and it has license cmdlets.    Earlier which i had was 3.0.0.87, which does not have license cmdlets for cmode.

Thanks again