Microsoft Virtualization Discussions

Highlighted

ERROR When Using Set-NcAutoSupportBudget

Hi Everyone,

 

I am trying to set the AutoSupport Configuration via powershell but every combination I try with the cmdlet "Set-NcAutoSupportBudget" does not work. I have also tried the example in the get-help section which does not work. We are using ONTAP 9.3P4 and PowerShell toolkit version (4.6.0):

 

PS C:\Windows\system32> Get-NaToolkitVersion

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

 

Here's the error:

PS C:\Windows\system32> Set-NcAutoSupportBudget -Node node01-1 -Subsystem performance -TimeLimit 300
Set-NcAutoSupportBudget : Value cannot be null.
Parameter name: input
At line:1 char:1
+ Set-NcAutoSupportBudget -Node node01-1 -Subsystem performance -Time ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-NcAutoSupportBudget], ArgumentNullException
+ FullyQualifiedErrorId : System.ArgumentNullException,DataONTAP.C.PowerShell.SDK.Cmdlets.Autosupport.SetNcAutosup
portBudget

Check out the KB!
Knowledge Base
All Community Forums