From 6cf95fa9aaa60cc36f6b6a737c3cece8ac85a3c0 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Fri, 1 Apr 2022 14:35:40 +0100 Subject: [PATCH] Move PasswordLastSet further down --- roles/home-cli/files/Microsoft.PowerShell_profile.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'