Get-LXCABulletins
This cmdlet returns a list of bulletins from the last 30 days.
Note
You cannot pipe objects to this cmdlet.
Syntax
Get-LXCABulletins [-Connection LXCAConnection]
[-Severity String]
[-StartDate 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.
- -Severity String
If specified, returns only bulletins with the specified severity. This can be one of following values.
Critical
Informational
Warning
- -StartDate String
- If specified, returns only bulletins that were published after the specified timestamp.
- 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.SysMgmt.LXCA.Integration.Data.BulletinData[]
If the request was successful, this cmdlet returns an array of BulletinData objects that contains information about each bulletin.
Lenovo.SysMgmt.LXCA.Integration.Data.RequestResult
If the bulletin service is not enable, no bulletin were returned, or an error occurred, this cmdlet returns a RequestResult object that contains information about the status of this request.
Examples
The following example retrieves all bulletins that match the specified parameters
$cred = Get-Credential
Connect-LXCA -Host 1.111.11.11 -Credential $cred -SkipCertificateCheck
$result = Get-LXCABulletins -Severity Critical -StartDate 9/24/2021
# Show all bulletins:
$result | Format-List
Disconnect-LXCA
Give documentation feedback