This cmdlet creates a note and change the state of a specific job (task).

Note: You cannot pipe objects to this cmdlet.


Add-LXCAJobNote [-Connection LXCAConnection] 
                 -JobUID String
                 -NewState String
                 -Text String


-Connection LXCAConnection
Specifies the connection to the Lenovo XClarity Administrator server. If no connection is specified, the result from the last Connect-LXCA cmdlet is used.
-JobUID String
Specifies the UID of the job.

If the job does not exist, the 404 - Not Found exception is thrown.

-NewState String
Specifies the new state of the job. You can specify one of the following values.
  • Aborted

  • Investigating

  • Resolved

  • NoChange

-Text String
Specifies the note text.
This cmdlet supports the following common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer, -PipelineVariable, -OutVariable. For detailed information about each common parameter, see the Microsoft PowerShell Common Parameters webpage.


This cmdlet does not return data.


The following example add a net to a specific job, keeping the actual job state as is.

$cred = Get-Credential
Connect-LXCA -Host -Credential $cred

$jobUID = 123444
Add-LXCAJobNote -JobUID $jobUID -NewState NoChange -Text "No Change. Waiting for answer."