- PowerShell for Office 365
- Martin Machado Prashant G Bhoyar
- 177字
- 2021-07-02 18:50:37
PowerShell is a cmdlet based language with verb-noun syntax
The building blocks of PowerShell are called cmdlets (pronounced command-lets). Cmdlets allow us to get things done in PowerShell. A cmdlet is a lightweight command that is used in the Windows PowerShell environment. The Windows PowerShell runtime evokes these cmdlets within the context of automation scripts that are provided at the command line. We can put multiple cmdlets together into a set of commands to run all at once, or we can place them in a file with the extension .ps1 to create a PowerShell script that we can run manually or using a scheduler. In Office 365, the following cmdlets are commonly used:
- Get-MsolUser
- New-MsolUser
In PowerShell, cmdlets follow a pattern with verb-noun syntax. For example, to manage users, the syntax is <Verb>-MSOL<Noun>.
Here, MSOL stands for Microsoft Online.
To manage SharePoint Online, the syntax is <Verb>-SPO<Noun>.
SPO is SharePoint Online.
The following is the list of the most commonly used verbs in PowerShell:
- Get
- Set
- Add
- New
- Remove
- Connect
- Disconnect
- Test
- Enable
- Disable
- Invoke
- Start
- Stop
- INSTANT FreeMarker Starter
- 自己動(dòng)手寫(xiě)Java虛擬機(jī)
- Mastering Articulate Storyline
- HTML5 Mobile Development Cookbook
- Processing互動(dòng)編程藝術(shù)
- Unity Shader入門(mén)精要
- RISC-V體系結(jié)構(gòu)編程與實(shí)踐(第2版)
- Yii Project Blueprints
- 深入淺出React和Redux
- Statistical Application Development with R and Python(Second Edition)
- 軟件項(xiàng)目管理實(shí)用教程
- 零基礎(chǔ)學(xué)HTML+CSS第2版
- Web程序設(shè)計(jì):ASP.NET(第2版)
- 深入理解Java虛擬機(jī):JVM高級(jí)特性與最佳實(shí)踐
- JavaEE架構(gòu)與程序設(shè)計(jì)