mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-10 02:39:34 +00:00
29 lines
1.0 KiB
PowerShell
29 lines
1.0 KiB
PowerShell
$GPOZaurrFiles = [ordered] @{
|
|
Name = 'SYSVOL (NetLogon) Files List'
|
|
Enabled = $true
|
|
ActionRequired = $null
|
|
Data = $null
|
|
Execute = {
|
|
Get-GPOZaurrFiles -Forest $Forest -IncludeDomains $IncludeDomains -ExcludeDomains $ExcludeDomains
|
|
}
|
|
Processing = {
|
|
|
|
}
|
|
Variables = @{
|
|
|
|
}
|
|
Overview = {
|
|
|
|
}
|
|
Solution = {
|
|
New-HTMLTable -DataTable $Script:Reporting['GPOFiles']['Data'] -Filtering
|
|
if ($Script:Reporting['GPOFiles']['WarningsAndErrors']) {
|
|
New-HTMLSection -Name 'Warnings & Errors to Review' {
|
|
New-HTMLTable -DataTable $Script:Reporting['GPOFiles']['WarningsAndErrors'] -Filtering {
|
|
New-HTMLTableCondition -Name 'Type' -Value 'Warning' -BackgroundColor SandyBrown -ComparisonType string -Row
|
|
New-HTMLTableCondition -Name 'Type' -Value 'Error' -BackgroundColor Salmon -ComparisonType string -Row
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |