{"id":75422,"date":"2023-06-05T13:10:29","date_gmt":"2023-06-05T17:10:29","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=75422"},"modified":"2023-06-05T13:10:29","modified_gmt":"2023-06-05T17:10:29","slug":"jumpcloud-powershell-module","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/jumpcloud-powershell-module","title":{"rendered":"JumpCloud PowerShell Module"},"content":{"rendered":"\n
PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language.<\/p>\n\n\n\n
Initially a Windows component only, known as Windows PowerShell, PowerShell was made\u00a0open-source\u00a0and\u00a0cross-platform\u00a0on August 18th, 2016 with the introduction of PowerShell Core.<\/p>\n\n\n\n
To use the PowerShell, users call PowerShell commands. A PowerShell command executes a specific action. Administrators can run PowerShell commands and group commands together in PowerShell scripts to automate administrative tasks for commonly implemented processes.<\/p>\n\n\n\n
A PowerShell module is a set of related PowerShell commands that are grouped together. PowerShell modules are hosted by Microsoft and available for installation from\u00a0the\u00a0PowerShell Gallery<\/a>.\u00a0<\/p>\n\n\n\n The\u00a0JumpCloud PowerShell Module<\/a>\u00a0is a set of PowerShell commands that allow JumpCloud administrators to interact with their JumpCloud directory.<\/p>\n\n\n\n The JumpCloud PowerShell module is at its core a wrapper for the JumpCloud API<\/a> and communicates with the JumpCloud API using the Invoke-RestMethod<\/a> PowerShell command over HTTPS.<\/p>\n\n\n\n Common administrative tasks that can be automated or scripted using the JumpCloud PowerShell module include:<\/p>\n\n\n\n PowerShell comes preinstalled on Windows, but can easily be installed on both Mac and Linux. Find a full list of supported platforms with download instructions here<\/a>.<\/p>\n\n\n\n This could not be further from the truth! PowerShell uses a verb-noun naming convention for executing PowerShell commands. This verb-noun syntax makes PowerShell both easy to learn and understand.<\/p>\n\n\n\n Commands within in the JumpCloud module can perform actions like creating a new JumpCloud user\u00a0(\n
Common PowerShell Misconceptions<\/h2>\n\n\n\n
\n
\n
New-JCUser<\/code>)\u00a0or getting information on a JumpCloud-managed system\u00a0(
Get-JCSystem<\/code>).
Sold?<\/strong><\/p>\n\n\n\n