Get-LXCAOSImage
This cmdlet retrieves information about the operating-system images in the OS-image repository.
Note
You cannot pipe objects to this cmdlet.
Syntax
Get-LXCAOSImage [-Connection LXCAConnection]
[-ImageID String[]]
[CommonParameter]
Parameters
- -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.
- -ImageID string[]
- Specifies one or more operating-system image IDs. If no image ID is specified, all operating-system images in the OS-image repository are returned.
- 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
This cmdlet returns one or more OSImage objects with image information.
Examples
The following example retrieves information about all operating-systems images in the OS-images repository.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
$images = Get-LXCAOSImage
Disconnect-LXCA
Related links
Give documentation feedback