Rewritten Autologon using Reports on Reports

This commit is contained in:
Przemyslaw Klys
2020-07-30 21:58:28 +02:00
parent 989d3ba9f0
commit 8b963c6b82
2 changed files with 64 additions and 0 deletions
+15
View File
@@ -30,18 +30,33 @@
}
}
Autologon = [ordered] @{
# We want to process this based on other report called RegistrySettings
# This is because registry settings can be stored in Collections or nested within other registry settings
# The original function ConvertTo-XMLRegistryAutologon was processing it in limited ordered and potentially would skip some entries.
<#
Types = @(
@{
Category = 'RegistrySettings'
Settings = 'RegistrySettings'
}
)
#>
ByReports = @(
@{
Report = 'RegistrySettings'
}
)
<#
Code = {
ConvertTo-XMLRegistryAutologon -GPO $GPO
}
CodeSingle = {
ConvertTo-XMLRegistryAutologon -GPO $GPO
}
#>
CodeReport = {
ConvertTo-XMLRegistryAutologonOnReport -GPO $GPO
}
}
DriveMapping = [ordered] @{
Types = @(