Run JumpCloud Commands in Powershell

In order to run Commands in Powershell you will need to install the JumpCloud module, in order to do so run the Install-Module command below,

PS> Install-Module -Name JumpCloud

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its 
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the 
modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): Y
Installing package 'JumpCloud' [Installing dependent package 'JumpCloud.SDK.V2.0

Example commands:

Get List of All Mac Users
PS /Users/code2care> dscl . list /Users | grep -v '^_' | grep -v 'daemon' | grep -v 'nobody' | grep -v 'root'
List of available updates:
PS /Users/code2care> softwareupdate -l
Software Update Tool

Finding available software
No new software available.
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.