Get-LXCAServersGlobalSettings
This cmdlet returns global-configuration settings for ThinkAgile and ThinkSystem servers.
Note
You cannot pipe objects to this cmdlet.
Syntax
Get-LXCAServersGlobalSettings [-Connection LXCAConnection]
[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.
- 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.ServersGlobalSettings
If the request was successful, this cmdlet returns a ServerGlobalSettings object.
Lenovo.SysMgmt.LXCA.Integration.Data.RequestResult
If an error occurred, this cmdlet returns a RequestResult object that contains information about the status of this request.
Examples
The following example retrieves global-configuration settings for ThinkAgile and ThinkSystem servers.
$cred = Get-Credential
Connect-LXCA -Host "192.0.2.0" -Credential $Cred -SkipCertificateCheck
$result = Get-LXCAServersGlobalSettings
$result
#Disconnect from LXCA
Disconnect-LXCA
Give documentation feedback