Overview
PowerShell is a task automation and configuration management framework from Microsoft, consisting of a command-line shell and associated scripting language.
Initially a Windows component only, known as Windows PowerShell, PowerShell was made open-source and cross-platform on August 18th, 2016 with the introduction of PowerShell Core.
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.
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 the .Ìý
°Õ³ó±ðÌý is a set of PowerShell commands that allow ºÚÁϺ£½Ç91Èë¿Ú administrators to interact with their ºÚÁϺ£½Ç91Èë¿Ú directory.
The ºÚÁϺ£½Ç91Èë¿Ú PowerShell module is at its core a wrapper for the and communicates with the ºÚÁϺ£½Ç91Èë¿Ú API using the PowerShell command over HTTPS.
Common administrative tasks that can be automated or scripted using the ºÚÁϺ£½Ç91Èë¿Ú PowerShell module include:
- Importing ºÚÁϺ£½Ç91Èë¿Ú users from a .csv file
- Exporting ºÚÁϺ£½Ç91Èë¿Ú user and system information to a .csv file
- Creating and removing ºÚÁϺ£½Ç91Èë¿Ú users
- Resetting ºÚÁϺ£½Ç91Èë¿Ú users password
- Unlocking or locking a ºÚÁϺ£½Ç91Èë¿Ú user account
- Disabling and enabling ºÚÁϺ£½Ç91Èë¿Ú user accounts
- Adding or removing members from ºÚÁϺ£½Ç91Èë¿Ú Groups
- Triggering ºÚÁϺ£½Ç91Èë¿Ú Commands
- Reading the output of ºÚÁϺ£½Ç91Èë¿Ú Commands
- Bulk actions
Common PowerShell Misconceptions
- PowerShell only works on Windows
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 .
- You have to have programming experience to use PowerShell
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.
Commands within in the ºÚÁϺ£½Ç91Èë¿Ú module can perform actions like creating a new ºÚÁϺ£½Ç91Èë¿Ú user (New-JCUser
) or getting information on a ºÚÁϺ£½Ç91Èë¿Ú-managed system (Get-JCSystem
).
Sold?
³§±ð±ðÌýInstall the ºÚÁϺ£½Ç91Èë¿Ú PowerShell Module.