From 6d70aa37914c26eaad716410e4c40683dd5ef34b Mon Sep 17 00:00:00 2001 From: PierreGode Date: Mon, 2 Sep 2024 10:23:14 +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..df6a0c8 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 dscontestingfigad -add "$DOMAIN" \ -mobile enable \ -mobileconfirm disable \ -localhome enable \