Guest User

Untitled

a guest
Jun 23rd, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. # Using PlistBuddy to parse the output of another command by
  2. # redirecting its output to a File Descriptor since
  3. # PlistBuddy does not read stdin.
  4. activeDirectoryDomain=$(/usr/libexec/PlistBuddy -c "Print :'General Info':'Active Directory Domain'" /dev/fd/9 9<<isComputerBound_Check
  5. $(dsconfigad -show -xml)
  6. isComputerBound_Check
  7. )
Add Comment
Please, Sign In to add comment