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 \