Remove-LXCOManager
This cmdlet starts a job that disconnects (removes) a specific resource manager.
Note
You cannot pipe objects to this cmdlet.
Syntax
Remove-LXCOManager [-Connection LXCOConnection]
-ManagerID String
[CommonParameter]
Parameters
- -Connection LXCAConnection
- Specifies the connection to the Lenovo XClarity Orchestrator server. If no connection is specified, the result from the last Connect-LXCO cmdlet is used.
- -ManagerID String
- Specifies the ID of the resource manager to be removed
- CommonParameters
- 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.
Results
- Lenovo.XClarityOrchestrator.PowerShell.Data.LXCOJob
If the request was accepted the orchestrator server, this cmdlet returns an LXCOJob object that contains the status of the remove request.
- Lenovo.XClarityOrchestrator.PowerShell.Data.RequestStatusMessage
If an error occurred, this cmdlet returns a RequestStatusMessage object that contains information about the reason of the failure.
Examples
The following example removes a specified resource manager.
$cred = Get-Credential
Connect-LXCO -HostUri 192.0.2.0 -Credential $cred -SkipCertificateCheck
$result = Remove-LXCOManager -ManagerID D1331174CEB44EADB8AB80A502A0C35E
Disconnect-LXCO
Give feedback