Added or improved help on all functions.

This commit is contained in:
neztach
2024-07-05 13:00:03 -05:00
parent bd103a513b
commit 92f3fcb692
97 changed files with 3074 additions and 35 deletions
@@ -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