API Reference
Command
Get-CxAccountPolicy
Gets local Account Policy (password/lockout) from SAM (local or remote).
Examples
Example 1
Get-CxAccountPolicy
Example 2
Get-CxAccountPolicy -ComputerName SERVER01
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-CxAccountPolicy [-ComputerName <string>] [<CommonParameters>]#Parameters
- ComputerName string
- Target computer(s). Use '.' for local computer or provide DNS names.
Outputs
ComputerX.SecurityPolicy.AccountPolicyState