Skip to main content

Set-LXCAEncapsulation

This cmdlet enables or disables the global encapsulation setting on the Lenovo XClarity Administrator server.

Note
You cannot pipe objects to this cmdlet.

Syntax

Set-LXCAEncapsulation [-Connection LXCAConnection]
-EnableEncapsulation Bool
[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.
-EnableEncapsulation Bool
Specifies whether to enable the global encapsulation settings. You can specify one of the following values:
  • true. Enables the global encapsulation settings

  • false. Disables the global encapsulation 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 does not return an object.

Examples

The following example enables the encapsulation setting.

$cred = Set-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred

Set-LXCAEncapsulation -EnableEncapsulation $true

Disconnect-LXCA