This cmdlet retrieves information about one or more tasks (jobs) from the Lenovo XClarity Administrator server.
Get-LXCATask [-Connection LXCAConnection]
[-LegacyMode SwitchParameter]
[CommonParameter]
Get-LXCATask [-Connection LXCAConnection]
[-LegacyMode SwitchParameter]
-TaskUIDs String[]
[CommonParameter]
Get-LXCATask [-Connection LXCAConnection]
[-LegacyMode SwitchParameter]
[-TargetUUIDs String[]]
[-Category String[]]
[-State String[]]
[CommonParameter]
-JobID
-TaskId
-TaskUID
-TargetUUID
-Uuid
Backup
Configuration
Custom
Firmware
Health
Inventory
Management
OsDeployment
OsDriverUpdates
OsImport
OsProfileExport
Power
RemoteAccess
SelfMaintenance
Service
SwitchConfiguration
SystemID
Unknown
Aborted
Blocked
Cancelled
CancelledWithError
CancelledWithWarning
Cancelling
Complete
CompleteWithError
CompleteWithWarning
Expired
Initializing
Interrupted
InterruptedWithError
InterruptedWithWarning
Investigating
Pending
Resolved
Running
RunningWithError
RunningWithWarning
Skipped
Stopped
StoppedWithError
StoppedWithWarning
Unknown
Uploading
Validating
Waiting
Lenovo.SysMgmt.LXCA.Integration.Data.LxcaJob[]
This cmdlet returns Lenovo.SysMgmt.LXCA.Integration.Data.LxcaJob array that contains information about all the jobs in XClarity Administrator, all jobs with specified UIDs, or jobs that are filtered by target UUID, state and category.
The following example retrieves all tasks that are currently running.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
$tasks = Get-LXCATask -State Running,RunningWithError,RunningWithWarning
Disconnect-LXCA