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'
code2care
guestUser
List of available updates:
PS /Users/code2care> softwareupdate -l
Software Update Tool

Finding available software
No new software available.

Top Hashtags:

Advertisements

Advertisements




Advertisements