Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 626 Bytes

Mac - List All Users.md

File metadata and controls

24 lines (15 loc) · 626 Bytes

Name

Mac - List All Users | v1.0 JCCG

commandType

mac

Command

dscl . list /Users | grep -v '^_' | grep -v 'daemon' | grep -v 'nobody' | grep -v 'root'

Description

Lists all users on a Mac

Import This Command

To import this command into your JumpCloud tenant run the below command using the JumpCloud PowerShell Module

Import-JCCommand -URL "https://github.com/TheJumpCloud/support/blob/master/PowerShell/JumpCloud%20Commands%20Gallery/Mac%20Commands/Mac%20-%20List%20All%20Users.md"