Skip to content

Commit 7b6a911

Browse files
authored
Update Check-LocalGroupPolicy.ps1
Cleanup header
1 parent eb14d45 commit 7b6a911

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

GPO/Check-LocalGroupPolicy.ps1

+5-8
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,17 @@
66
.DESCRIPTION
77
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.
88
.EXAMPLE
9-
.\configure-AD.ps1 -XMLfile .\securead.xml
10-
11-
.PARAMETER XMLfile
12-
Path to XML config file
9+
Check-LocalGroupPolicy.ps1
1310
1411
.NOTES
1512
Author : Fabian Niesen
16-
Filename : configure-AD.ps1
13+
Filename : Check-LocalGroupPolicy.ps1
1714
Requires : PowerShell Version 4.0
1815
1916
Version : 0.3
2017
History : 0.3 23.12.2022 FN Some Cleanup and Housekeeping
21-
0.2 08.03.2021 FN Found in personal archive and published to GitHub
22-
0.1 FN 2016 Initial version.
18+
0.2 08.03.2021 FN Found in personal archive and published to GitHub
19+
0.1 FN 2016 Initial version.
2320
.LINK
2421
https://github.com/InfrastructureHeroes/Scipts/blob/master/GPO/Check-LocalGroupPolicy.ps1
2522
#>
@@ -99,4 +96,4 @@ IF ( $needfix -eq $true)
9996
break
10097
}
10198
}
102-
ELSE {"$(get-date -format yyyyMMdd-HHmm) Noting to do"| Out-File $logfile -Append }
99+
ELSE {"$(get-date -format yyyyMMdd-HHmm) Noting to do"| Out-File $logfile -Append }

0 commit comments

Comments
 (0)