From 1d198dbd7c2a075f8fb6087445beec0c0558d42f Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Wed, 5 Aug 2020 13:58:18 +0200 Subject: [PATCH] Fix for AUtologon --- Private/ConvertTo-XMLRegistryAutologonOnReport.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Private/ConvertTo-XMLRegistryAutologonOnReport.ps1 b/Private/ConvertTo-XMLRegistryAutologonOnReport.ps1 index 1ca4c8c..8d16ce2 100644 --- a/Private/ConvertTo-XMLRegistryAutologonOnReport.ps1 +++ b/Private/ConvertTo-XMLRegistryAutologonOnReport.ps1 @@ -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 } } \ No newline at end of file