mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 08:50:12 +01:00
Update MacOS.sh
This commit is contained in:
parent
501a558c0a
commit
d40796ee78
2
MacOS.sh
2
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
|
read -p "Enter OU where the computer object will be created: " OU
|
||||||
|
|
||||||
# Join computer to Active Directory
|
# Join computer to Active Directory
|
||||||
sudo dsconfigad -add "$DOMAIN" \
|
sudo dscondfgfigad -add "$DOMAIN" \
|
||||||
-mobile enable \
|
-mobile enable \
|
||||||
-mobileconfirm disable \
|
-mobileconfirm disable \
|
||||||
-localhome enable \
|
-localhome enable \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user