Skip to main content

Set-LXCABulletinService

This cmdlet enable or disable receiving Lenovo bulletins.

Note
You cannot pipe objects to this cmdlet.

Syntax

Set-LXCABulletinService [-Connection LXCAConnection] 
-ServiceStatus 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.
-ServiceStatus String
Specifies whether the bulletin service is enabled or disabled. This can be one of following values.
  • Enabled

  • Disabled

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

Examples

The following example enables bulletin service

$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred -SkipCertificateCheck

$(Set-LXCABulletinService -ServiceStatus Enabled) | Format-List

Disconnect-LXCA