Fix for AUtologon

This commit is contained in:
Przemyslaw Klys
2020-08-05 13:58:18 +02:00
parent 2dd780910a
commit 1d198dbd7c
@@ -41,9 +41,9 @@ function ConvertTo-XMLRegistryAutologonOnReport {
$null -ne $CreateGPO['DefaultUserName'] -or
$null -ne $CreateGPO['DefaultPassword']
) {
$CreateGPO['Linked'] = $GPOEntry.Linked #: True
$CreateGPO['LinksCount'] = $GPOEntry.LinksCount #: 1
$CreateGPO['Links'] = $GPOEntry.Links #: area1.local
$CreateGPO['Linked'] = $GPO.Linked #: True
$CreateGPO['LinksCount'] = $GPO.LinksCount #: 1
$CreateGPO['Links'] = $GPO.Links #: area1.local
[PSCustomObject] $CreateGPO
}
}