mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-31 04:37:57 +00:00
Added or improved help on all functions.
This commit is contained in:
@@ -1,4 +1,34 @@
|
||||
function ConvertTo-XMLRegistryAutologonOnReport {
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Converts Group Policy Object (GPO) settings related to Autologon into an XML report.
|
||||
|
||||
.DESCRIPTION
|
||||
This function takes a GPO object as input and extracts Autologon related settings to generate an XML report.
|
||||
|
||||
.PARAMETER GPO
|
||||
Specifies the GPO object containing Autologon settings.
|
||||
|
||||
.EXAMPLE
|
||||
$GPO = [PSCustomObject]@{
|
||||
DisplayName = "Autologon GPO"
|
||||
DomainName = "example.com"
|
||||
GUID = "12345678-1234-1234-1234-1234567890AB"
|
||||
GpoType = "Security"
|
||||
Settings = @(
|
||||
[PSCustomObject]@{
|
||||
Key = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
|
||||
Name = "AutoAdminLogon"
|
||||
Value = $true
|
||||
Changed = (Get-Date)
|
||||
}
|
||||
)
|
||||
Linked = $true
|
||||
LinksCount = 1
|
||||
Links = "area1.local"
|
||||
}
|
||||
ConvertTo-XMLRegistryAutologonOnReport -GPO $GPO
|
||||
#>
|
||||
[cmdletBinding()]
|
||||
param(
|
||||
[PSCustomObject] $GPO
|
||||
|
||||
Reference in New Issue
Block a user