File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 216
216
' Filter' = {(SamAccountName -eq $Username ) -or (DisplayName -eq $Username ) -or (DistinguishedName -eq $Username ) -or (UserPrincipalName -eq $Username )}
217
217
' SearchBase' = $OUPath
218
218
' SearchScope' = $SearchScope
219
+ ' Properties' = ' *'
219
220
}
220
221
if ($null -ne $DomainAccount ){
221
222
$cmdArgs.Add (" Credential" , $DomainAccount )
Original file line number Diff line number Diff line change 209
209
' Filter' = {(SamAccountName -eq $Username ) -or (DisplayName -eq $Username ) -or (DistinguishedName -eq $Username ) -or (UserPrincipalName -eq $Username )}
210
210
' SearchBase' = $OUPath
211
211
' SearchScope' = $SearchScope
212
+ ' Properties' = ' *'
212
213
}
213
214
if ($null -ne $DomainAccount ){
214
215
$cmdArgs.Add (" Credential" , $DomainAccount )
You can’t perform that action at this time.
0 commit comments