API Reference
Command
Get-ADXLapsDeployment
Retrieves LAPS deployment details for computer accounts.
Examples
Example 1: Review LAPS deployment posture in the current domain
Get-ADXLapsDeployment
Example 2: Collect LAPS deployment details across every domain in the forest
Get-ADXLapsDeployment -AllDomains
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-ADXLapsDeployment [-AllDomains] [-Domain <string>] [<CommonParameters>]#Parameters
- AllDomains SwitchParameter
- When specified, queries all domains in the forest.
- Domain string
- Specifies the domain name to query. If omitted, the current domain is used.