Set-LXCAResourceAccessControl

This cmdlet enables or disables the resource access control.

Note:
  • Only users with lxc-supervisor or lxc-security-admin authority can modify the access-control settings.

  • You cannot pipe objects to this cmdlet.

Syntax

Set-LXCAResourceAccessControl [-Connection LXCAConnection] 
                               -enable  Boolean 
                              [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.
-enable Boolean
Specifies whether to enable access control for managed devices. This can be one of the following values.
  • true. Enables access control.

  • false. Disables access control.

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

Related links

Set-LXCAResourceView