Skip to content

Commit

Permalink
Update Check-LocalGroupPolicy.ps1
Browse files Browse the repository at this point in the history
Cleanup header
  • Loading branch information
FabianNiesen authored Feb 24, 2024
1 parent eb14d45 commit 7b6a911
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions GPO/Check-LocalGroupPolicy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,17 @@
.DESCRIPTION
Check local EventLog for signes of issues with Local GPO and fixed them if needed. Malformed local GPO prevent GPO processing. This mean changes in GPOs will not be processed by this client. The script needs to be run with Administrative permissions.
.EXAMPLE
.\configure-AD.ps1 -XMLfile .\securead.xml
.PARAMETER XMLfile
Path to XML config file
Check-LocalGroupPolicy.ps1
.NOTES
Author : Fabian Niesen
Filename : configure-AD.ps1
Filename : Check-LocalGroupPolicy.ps1
Requires : PowerShell Version 4.0
Version : 0.3
History : 0.3 23.12.2022 FN Some Cleanup and Housekeeping
0.2 08.03.2021 FN Found in personal archive and published to GitHub
0.1 FN 2016 Initial version.
0.2 08.03.2021 FN Found in personal archive and published to GitHub
0.1 FN 2016 Initial version.
.LINK
https://github.com/InfrastructureHeroes/Scipts/blob/master/GPO/Check-LocalGroupPolicy.ps1
#>
Expand Down Expand Up @@ -99,4 +96,4 @@ IF ( $needfix -eq $true)
break
}
}
ELSE {"$(get-date -format yyyyMMdd-HHmm) Noting to do"| Out-File $logfile -Append }
ELSE {"$(get-date -format yyyyMMdd-HHmm) Noting to do"| Out-File $logfile -Append }

0 comments on commit 7b6a911

Please sign in to comment.