Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Using PlistBuddy to parse the output of another command by
- # redirecting its output to a File Descriptor since
- # PlistBuddy does not read stdin.
- activeDirectoryDomain=$(/usr/libexec/PlistBuddy -c "Print :'General Info':'Active Directory Domain'" /dev/fd/9 9<<isComputerBound_Check
- $(dsconfigad -show -xml)
- isComputerBound_Check
- )
Add Comment
Please, Sign In to add comment