diff --git a/ADconnection.sh b/ADconnection.sh index ebb8a0a..d541c23 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -988,6 +988,13 @@ fi # esac #} +########################################### Leave Realm ################################ + +leave(){ +DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}') +echo $DOMAIN +} + ########################################### info ####################################### readmes(){