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 \