Skip to content

Commit f5abe7c

Browse files
committed
Changed License to MIT, housekeeping Header
1 parent 8ac2a93 commit f5abe7c

14 files changed

Lines changed: 332 additions & 121 deletions

BitLocker/Update-BitLockerRecovery.ps1

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,27 @@ Pattern to determin the if the protection state based on the localized output of
5959
Check Active Directory and shows the key. Require Active Directory PowerShell module installed and Domain Admin permissions
6060
6161
.NOTES
62-
Author : Fabian Niesen (www.fabian-niesen.de)
63-
Filename : Update-BitLockerRecovery.ps1
64-
Requires : PowerShell Version 3.0
65-
Version : 1.0.0
66-
History : 1.0.1 FN 09.12.2021 Change Locale setting after feedback from Jonas. Thanks
67-
1.0.0 FN 01/22/2021 initial version
68-
62+
Author : Fabian Niesen (infrastrukturhelden.de)
63+
Filename : Update-BitLockerRecovery.ps1
64+
Requires : PowerShell Version 3.0
65+
License : The MIT License (MIT)
66+
Copyright (c) 2022-2025 Fabian Niesen
67+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
68+
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
69+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
70+
furnished to do so, subject to the following conditions:
71+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
72+
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties
73+
of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be
74+
liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in
75+
connection with the software or the use or other dealings in the Software.
76+
Disclaimer : This script is provided "as is" without warranty. Use at your own risk.
77+
The author assumes no responsibility for any damage or data loss caused by this script.
78+
Test thoroughly in a controlled environment before deploying to production.
79+
Version : 1.2
80+
History : 1.2 FN 03.12.2025 Changed License to MIT, housekeeping Header
81+
1.1 FN 09.12.2021 Change Locale setting after feedback from Jonas. Thanks
82+
1.0 FN 01/22/2021 initial version
6983
7084
.LINK
7185
https://www.infrastrukturhelden.de/microsoft-infrastruktur/active-directory/bitlocker-wiederherstellungs-keys-nachtraglich-im-ad-sichern/
@@ -79,6 +93,8 @@ Param(
7993
[string]$locale = $((Get-UICulture).Name),
8094
[switch]$adcheck
8195
)
96+
$scriptversion = "1.2"
97+
Write-Output "Update-BitLockerRecovery.ps1 Version $scriptversion "
8298
$ErrorActionPreference = "Stop"
8399
If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
84100
{

GPO/Check-LocalGroupPolicy.ps1

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,25 @@
1212
Author : Fabian Niesen
1313
Filename : Check-LocalGroupPolicy.ps1
1414
Requires : PowerShell Version 4.0
15-
16-
Version : 0.3
17-
History : 0.3 23.12.2022 FN Some Cleanup and Housekeeping
18-
0.2 08.03.2021 FN Found in personal archive and published to GitHub
19-
0.1 FN 2016 Initial version.
15+
License : The MIT License (MIT)
16+
Copyright (c) 2022-2025 Fabian Niesen
17+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
18+
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
19+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
20+
furnished to do so, subject to the following conditions:
21+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
22+
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties
23+
of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be
24+
liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in
25+
connection with the software or the use or other dealings in the Software.
26+
Disclaimer : This script is provided "as is" without warranty. Use at your own risk.
27+
The author assumes no responsibility for any damage or data loss caused by this script.
28+
Test thoroughly in a controlled environment before deploying to production.
29+
Version : 0.4
30+
History : 0.4 03.12.2025 FN Changed License to MIT, housekeeping Header
31+
0.3 23.12.2022 FN Some Cleanup and Housekeeping
32+
0.2 08.03.2021 FN Found in personal archive and published to GitHub
33+
0.1 FN 2016 Initial version.
2034
.LINK
2135
https://github.com/InfrastructureHeroes/Scipts/blob/master/GPO/Check-LocalGroupPolicy.ps1
2236
#>
@@ -27,6 +41,8 @@ Param(
2741
[Parameter(Mandatory=$false, Position=1, ValueFromPipeline=$False)]
2842
$logpath = "C:\Windows\System32\LogFiles\"
2943
)
44+
$scriptversion = "0.4"
45+
Write-Output "Check-LocalGroupPolicy.ps1 Version $scriptversion "
3046
$ScriptName = $myInvocation.MyCommand.Name
3147
$ScriptName = $ScriptName.Substring(0, $ScriptName.Length - 4)
3248
$LogName = $ScriptName + "_" + $env:computername + "_" + (Get-Date -UFormat "%Y%m%d") + ".log"

GPO/get-GPOBackup.ps1

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,24 @@ Switch to force an Warrning for testing
3939
Switch to force an Error with Warrning for testing
4040
4141
.NOTES
42-
Author : Fabian Niesen (www.fabian-niesen.de)
43-
Filename : get-GPOBackup.ps1
44-
Requires : PowerShell Version 4.0
45-
Version : 1.7
46-
License : GNU General Public License v3 (GPLv3)
47-
(c) 2014-2025 Fabian Niesen, www.infrastrukturhelden.de
48-
This script is licensed under the GNU General Public License v3 (GPLv3), except for 3rd party code (e.g. Function Get-GPPolicyKey).
49-
You can redistribute it and/or modify it under the terms of the GPLv3 as published by the Free Software Foundation.
50-
This script is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
51-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
52-
See https://www.gnu.org/licenses/gpl-3.0.html for the full license text.
42+
Author : Fabian Niesen (infrastrukturhelden.de)
43+
Filename : get-GPOBackup.ps1
44+
Requires : PowerShell Version 4.0
45+
Version : 1.8
46+
License : The MIT License (MIT)
47+
Copyright (c) 2022-2025 Fabian Niesen
48+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
49+
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
50+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
51+
furnished to do so, subject to the following conditions:
52+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
53+
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties
54+
of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be
55+
liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in
56+
connection with the software or the use or other dealings in the Software.
57+
Disclaimer : This script is provided "as is" without warranty. Use at your own risk.
58+
The author assumes no responsibility for any damage or data loss caused by this script.
59+
Test thoroughly in a controlled environment before deploying to production.
5360
History : 1.0.0 FN 27/07/14 initial version
5461
1.1.0 FN 25/08/14 Change script to handle new GUID on GPO backup
5562
1.1.1 FN 03/09/14 Fix Targetpath for secured enviorment
@@ -67,6 +74,7 @@ History : 1.0.0 FN 27/07/14 initial version
6774
1.60 FN 13.10.22 Added PowerShell Creation for easier GPO export and import - only works with GPO Settings stored in Regestry Keys under HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER Everthing under Software and System!
6875
1.61 FN 26.01.23 Small Improvements for Module loading
6976
1.7 FN 25.10.2025 Change License to GPLv3, except for 3rdparty code (e.g Function Get-GPPolicyKey)
77+
1.8 FN 03.12.2025 Changed License to MIT, housekeeping Header
7078
7179
.LINK
7280
https://www.infrastrukturhelden.de/microsoft-infrastruktur/active-directory/gruppenrichtlinien-richtig-sichern-und-dokumentieren.html
@@ -109,7 +117,8 @@ function Get-GPPolicyKey
109117
#endregion Functions
110118

111119
#Verknüfungsorte mit speichern
112-
$scriptversion = "1.7"
120+
$scriptversion = "1.8"
121+
Write-Output "Get-GPOBackup.ps1 Version $scriptversion "
113122
$ErrorActionPreference = "Stop"
114123
$GPList = @()
115124
$regex = "[$([regex]::Escape($characters))]"

GPO/invoke-GPupdateDomain.ps1

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,26 @@ Perform a invoke-gpupdate -target user
3939
Perform a invoke-gpupdate -target computer
4040
4141
.NOTES
42-
Author : Fabian Niesen (www.fabian-niesen.de)
43-
Filename : invoke-GPupdateDomain.ps1
44-
Requires : PowerShell Version 3.0
45-
Version : 1.0
46-
History : 1.0.0 FN 10/12/2018 initial version
42+
Author : Fabian Niesen (infrastrukturhelden.de)
43+
Filename : invoke-GPupdateDomain.ps1
44+
Requires : PowerShell Version 3.0
45+
License : The MIT License (MIT)
46+
Copyright (c) 2022-2025 Fabian Niesen
47+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
48+
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
49+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
50+
furnished to do so, subject to the following conditions:
51+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
52+
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties
53+
of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be
54+
liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in
55+
connection with the software or the use or other dealings in the Software.
56+
Disclaimer : This script is provided "as is" without warranty. Use at your own risk.
57+
The author assumes no responsibility for any damage or data loss caused by this script.
58+
Test thoroughly in a controlled environment before deploying to production.
59+
Version : 1.1
60+
History : 1.1 FN 03.12.2025 Changed License to MIT, housekeeping Header
61+
1.0 FN 10/12/2018 initial version
4762
4863
.LINK
4964
https://www.infrastrukturhelden.de
@@ -58,6 +73,8 @@ Param(
5873
[switch]$User,
5974
[switch]$Computer
6075
)
76+
$scriptversion = "1.1"
77+
Write-Output "invoke-GPupdateDomain.ps1 Version $scriptversion "
6178
$ErrorActionPreference = "Stop"
6279
[int]$Suc = 0
6380
$Command = "Invoke-GPupdate "

New-DokuwikiAnimal.ps1

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,23 @@
1010
.OUTPUTS
1111
Keine.
1212
.NOTES
13-
Author : Fabian Niesen
14-
Filename : New-DokuwikiAnimal.ps1
15-
Requires : PowerShell Version 3.0
16-
13+
Author : Fabian Niesen
14+
Filename : New-DokuwikiAnimal.ps1
15+
Requires : PowerShell Version 3.0
16+
License : The MIT License (MIT)
17+
Copyright (c) 2022-2025 Fabian Niesen
18+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
19+
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
20+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
21+
furnished to do so, subject to the following conditions:
22+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
23+
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties
24+
of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be
25+
liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in
26+
connection with the software or the use or other dealings in the Software.
27+
Disclaimer : This script is provided "as is" without warranty. Use at your own risk.
28+
The author assumes no responsibility for any damage or data loss caused by this script.
29+
Test thoroughly in a controlled environment before deploying to production.
1730
Version : 0.1
1831
History : 0.1 Los geht es
1932
.LINK

Set-Network.ps1

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,30 @@ Disable IPv6 on all interfaces and change the prefference to IPv4. Set DisabledC
2727
Copyright (c) 2022 Fabian Niesen. All rights reserved. Licensed under the MIT license.
2828
2929
.NOTES
30-
Author : Fabian Niesen (mail@fabian-niesen.de)
30+
Author : Fabian Niesen (Infrastrukturhelden.de)
3131
Filename : Set-Network.ps1
3232
Requires : PowerShell Version 4.0
33-
Version : 1.1
34-
History : 1.1 FN 11.10.2022 Add Set MTU
33+
License : The MIT License (MIT)
34+
Copyright (c) 2022-2025 Fabian Niesen
35+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
36+
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
37+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
38+
furnished to do so, subject to the following conditions:
39+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
40+
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties
41+
of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be
42+
liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in
43+
connection with the software or the use or other dealings in the Software.
44+
Disclaimer : This script is provided "as is" without warranty. Use at your own risk.
45+
The author assumes no responsibility for any damage or data loss caused by this script.
46+
Test thoroughly in a controlled environment before deploying to production.
47+
Version : 1.2
48+
History : 1.2 FN 03.12.2025 Change License to MIT, housekeeping Header
49+
1.1 FN 11.10.2022 Add Set MTU
3550
1.0 FN 04.10.2022 extracted from other script for idependent use
3651
3752
.LINK
38-
www.dell.com
53+
https://github.com/InfrastructureHeroes/Scipts
3954
#>
4055

4156
param (
@@ -45,6 +60,8 @@ www.dell.com
4560
[int]$MTU = 0
4661

4762
)
63+
$scriptversion = "1.2"
64+
Write-Output "Set-Network.ps1 Version $scriptversion "
4865
Write-Verbose "DNSDomain: $DNSDomain - DisableNetbios: $DisableNetbios - DisableIPv6Interfaces: $DisableIPv6Interfaces"
4966
Write-Verbose "Scan for Networkinterfaces"
5067
$networkConfig = Get-WmiObject Win32_NetworkAdapterConfiguration -filter "ipenabled = 'true'"

Set-WinRelease.ps1

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#Requires -RunAsAdministrator
2+
13
<#
24
.SYNOPSIS
35
Set Registry key to stay at a specific Windows 10 Release
@@ -16,20 +18,36 @@ C:\PS> set-WinRelease.ps1 -ver 1909
1618
Set Windows Release to this version
1719
1820
.NOTES
19-
Author : Fabian Niesen (www.infrastrukturhelden.de)
20-
Filename : set-WinRelease
21-
Requires : PowerShell Version 3.0
22-
Version : 1.0
23-
History : 1.0.0 FN 30.11.2021 initial version
21+
Author : Fabian Niesen (www.infrastrukturhelden.de)
22+
Filename : set-WinRelease.ps1
23+
Requires : PowerShell Version 3.0
24+
License : The MIT License (MIT)
25+
Copyright (c) 2022-2025 Fabian Niesen
26+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
27+
files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
28+
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
29+
furnished to do so, subject to the following conditions:
30+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
31+
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties
32+
of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be
33+
liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in
34+
connection with the software or the use or other dealings in the Software.
35+
Disclaimer : This script is provided "as is" without warranty. Use at your own risk.
36+
The author assumes no responsibility for any damage or data loss caused by this script.
37+
Test thoroughly in a controlled environment before deploying to production.
38+
Version : 1.1
39+
History : 1.1 FN 30.05.2024 Added 23H2 and 24H2, MIT License, housekeeping Header
40+
1.0 FN 30.11.2021 initial version
2441
2542
.LINK
26-
43+
https://github.com/InfrastructureHeroes/Scipts
2744
#>
2845

2946
Param(
30-
[Parameter(Mandatory=$true)][ValidateSet("1909","2004","20H2","21H1","21H2")] [string]$ver
47+
[Parameter(Mandatory=$true)][ValidateSet("1909","2004","20H2","21H1","21H2","22H2","23H2","24H2")] [string]$ver
3148
)
32-
49+
$scriptversion = "1.1"
50+
Write-Output "Set-WinRelease.ps1 Version $scriptversion "
3351
$ErrorActionPreference = "Stop"
3452
$RegPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Update"
3553
$RegName = "TargetReleaseVersion"

0 commit comments

Comments
 (0)