Update DSInternals.DSAccount.ExportViews.format.ps1xml
This commit is contained in:
parent
51b8c005ce
commit
187ede3f4f
|
@ -170,10 +170,11 @@
|
|||
<CustomItem>
|
||||
<ExpressionBinding>
|
||||
<ScriptBlock>
|
||||
$historyNumber = 1
|
||||
$records = [System.Collections.ArrayList]@()
|
||||
foreach($hash in $PSItem.NTHashHistory)
|
||||
{
|
||||
$record = '{0}:{1}' -f $PSItem.SamAccountName, (ConvertTo-Hex $hash)
|
||||
$record = '{0}_history{1}:{2}' -f $PSItem.SamAccountName, $historyNumber++, (ConvertTo-Hex $hash)
|
||||
$position = $records.Add($record)
|
||||
}
|
||||
$records -join [Environment]::NewLine
|
||||
|
|
Loading…
Reference in New Issue