Skip to content

Commit

Permalink
Add whenChanged attribute to required parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
sskl committed Dec 28, 2018
1 parent f1ba76a commit 08ce24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compare-ADObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Param(
$PropertiesGet = $PropertyNames = '*'
# If $Properties parameter set, make sure all required parameters adding to $PropertiesGet variable.
If ($Properties -ne '*') {
$PropertiesGet = $Properties + @("sAMAccountName", "objectGUID", "DistinguishedName", "Deleted", "objectClass")
$PropertiesGet = $Properties + @("sAMAccountName", "objectGUID", "DistinguishedName", "whenChanged", "Deleted", "objectClass")
$PropertyNames = $Properties
}

Expand Down

0 comments on commit 08ce24f

Please sign in to comment.