netstat to find out what domain controller a mac is authenticated against

netstat -a | grep ldap Link: https://acdesigntech.wordpress.com/2013/03/05/use-netstat-to-find-out-what-domain-controller-a-mac-is-authenticated-against/ https://acdesigntech.wordpress.com/2011/11/18/use-dscl-to-find-out-what-domain-controller-a-mac-is-authenticated-against/ https://community.jamf.com/t5/jamf-pro/question-how-to-force-a-mac-to-bind-to-specific-dc-within-the-ad/m-p/192225

mdfind

NAME mdfind -- finds files matching a given query SYNOPSIS mdfind [-live] [-count] [-onlyin directory] [-name fileName] query DESCRIPTION The mdfind command consults the central metadata store and returns a…

Microsoft 365 encryption chains

https://docs.microsoft.com/en-us/microsoft-365/compliance/encryption-office-365-certificate-chains-itar?view=o365-worldwide #!/bin/bash mkdir ~/Desktop/Microsoft_Certs # make directory for resulting certs [[ ! -d ./MS-CAs ]] && mkdir ./MS-CAs && mkdir ./MS-CAs/PEMs && mkdir ./MS-CAs/CERs # convert the p7b bundle to…