Set-LXCADeployGlobalSetting
This cmdlet modifies the global settings that are used for operating-system deployment, such as IP assignment type and deployment credentials.
Note
You cannot pipe objects to this cmdlet.
Syntax
Set-LXCADeployGlobalSetting [-Connection LXCAConnection]
-DeployGlobalSetting DeployGlobalSetting
[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.
- -DeployGlobalSetting DeployGlobalSetting[]
- Specifies the global deployment settings, which include IP assignment type and deployment credentials.
Use the Get-LXCADeployGlobalSetting cmdlet to retrieve a list of the current settings.
- 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 modifies the global settings for operating-system deployment. No objects are returned.
Examples
The following example retrieves and modifies global deployment settings.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
$setting = Get-LXCADeployGlobalSetting
$setting.IpAssignment = "dhcpv4"
Set-LXCADeployGlobalSetting -DeployGlobalSetting $setting
Disconnect-LXCA
Related links
Give documentation feedback