From 2ba786481135b6caec82dae6bcf41aef001a3454 Mon Sep 17 00:00:00 2001 From: PierreGode Date: Mon, 2 Sep 2024 10:20:01 +0200 Subject: [PATCH] Update MacOS.sh --- MacOS.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacOS.sh b/MacOS.sh index 0b3a30c..85a945f 100644 --- a/MacOS.sh +++ b/MacOS.sh @@ -18,7 +18,7 @@ read -p "Enter name of the computer object in Active Directory: " ADCOMPUTER read -p "Enter OU where the computer object will be created: " OU # Join computer to Active Directory -sudo dsconfigad -add "$DOMAIN" \ +sudo dscotestingsecuritynfigad -add "$DOMAIN" \ -mobile enable \ -mobileconfirm disable \ -localhome enable \