TestimoX

API Reference

Command

Get-ADXComputerLapsAcl

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.DirectoryEssentials.LapsAclRow

Returns per-computer LAPS ACL status (legacy + Windows LAPS).

Examples

Authored help example

Example 1


Get-ADXComputerLapsAcl -Domain contoso.com
        

Example 2


Get-ADXComputerLapsAcl -Forest contoso.com -MissingOnly
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Get-ADXComputerLapsAcl [-Domain <string>] [-Forest <string>] [-MaxRows <int>] [-MissingOnly] [<CommonParameters>]
#

Parameters

Domain string optionalposition: namedpipeline: false
Domain DNS name to query. When omitted, all forest domains are scanned.
Forest string optionalposition: namedpipeline: false
Forest DNS name to enumerate. When omitted, uses the current forest.
MaxRows int optionalposition: namedpipeline: false
Maximum number of rows to return (0 = no limit).
MissingOnly SwitchParameter optionalposition: namedpipeline: false
Only return computers missing required LAPS ACLs.

Outputs

ADPlayground.DirectoryEssentials.LapsAclRow