From d40796ee78e6b0911195fce6e64bd87575aca0c4 Mon Sep 17 00:00:00 2001 From: PierreGode Date: Tue, 10 Dec 2024 15:36:14 +0100 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..dc5c567 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 dscondfgfigad -add "$DOMAIN" \ -mobile enable \ -mobileconfirm disable \ -localhome enable \