diff --git a/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 b/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 index 03084ca..35d33c2 100644 --- a/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 +++ b/roles/home-cli/files/Microsoft.PowerShell_profile.ps1 @@ -31,7 +31,6 @@ function ADUserInfo { 'LockedOut' 'CannotChangePassword' 'PasswordNeverExpires' - 'PasswordLastSet' 'GivenName' 'Surname' 'DistinguishedName' @@ -42,6 +41,7 @@ function ADUserInfo { 'Department' 'Created' 'Modified' + 'PasswordLastSet' ) $ADPropertiesGetOnly = @( 'msDS-UserPasswordExpiryTimeComputed'