Lines 56 and 164 are duplicates which probably would throw anyone else off but I have a special workflow for our IT Ops team who are pre-provisioning computers for the end user. This workflow hinges on If/Then statements based on the $loggedInUser value.
Lines 56 and 164 are duplicates which probably would throw anyone else off but I have a special workflow for our IT Ops team who are pre-provisioning computers for the end user. This workflow hinges on If/Then statements based on the $loggedInUser value.
loggedInUser=$( echo "show State:/Users/ConsoleUser" | scutil | awk '/Name :/ { print $3 }' )
Thank you for an amazing tool! Brandon Sexton