none
Output not False but Yes/no RRS feed

  • General discussion

  • Hi i will see user acount status locked out, but not "false"/"true" .I will see yes or not how can this

    -----------------------------------------------

    if acount locked is false then  write output "yes" else "not"

    Get-ADUser $ComputerName -Properties LockedOut | Select-Object -ExpandProperty LockedOut

    thanks

    Friday, November 29, 2019 12:38 PM

All replies