scripts/AD_CREATE_USER.ps1 aktualisiert

This commit is contained in:
2024-11-11 08:32:28 +01:00
parent 6fb812ab0b
commit 214150997e

View File

@@ -1,5 +1,8 @@
# PowerShell GUI Script für Benutzererstellung
# Version 1.0:
# Created 2024 by Tim Eertmoed, Germany to work on Windows Server 2019/2022 as an user creating script.
# Sicherstellen, dass das Skript als Administrator ausgeführt wird
$myWindowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$myPrincipal = New-Object System.Security.Principal.WindowsPrincipal($myWindowsIdentity)