Split-LXCOServerConfigPattern
This cmdlet unassigns a configuration pattern from specific devices.
Note
You cannot pipe objects to this cmdlet.
Syntax
Split-LXCOServerConfigPattern [-Connection LXCOConnection]
-DeviceUUIDs String[]
[CommonParameter]
Split-LXCOServerConfigPattern [-Connection LXCOConnection]
-Groups String[]
[CommonParameter]
Split-LXCOServerConfigPattern [-Connection LXCOConnection]
-AllServers
[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.
- -Groups String
- Specifies list of IDs of manager or device groups.
- -DeviceUUIDs String[]
- Specifies list of UUIDs of managed devices, separated by a comma.
- -AllServers
- If specified, the configuration pattern is removed from all managed servers.
- 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 by the orchestrator server, this cmdlet returns an LXCOJob object that contains the status of the 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 pattern from a specific device.
$cred = Get-Credential
Connect-LXCO -HostUri 192.0.2.0 -Credential $cred -SkipCertificateCheck
$result = Split-LXCOServerConfigPattern `
-DeviceUUIDs 00632D78DE644E23B712E200FE449787,349D0AD7A3AF11EA9F5F994620EB76C6
Disconnect-LXCO
The following example removes a pattern from all managed devices.
$cred = Get-Credential
Connect-LXCO -HostUri 192.0.2.0 -Credential $cred -SkipCertificateCheck
$result = Split-LXCOServerConfigPattern -AllServers
Disconnect-LXCO
Give feedback