- 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
- JavaScript前端開發(fā)模塊化教程
- 基于免疫進化的算法及應(yīng)用研究
- 營銷數(shù)據(jù)科學(xué):用R和Python進行預(yù)測分析的建模技術(shù)
- Python進階編程:編寫更高效、優(yōu)雅的Python代碼
- Python 3網(wǎng)絡(luò)爬蟲實戰(zhàn)
- C語言程序設(shè)計案例精粹
- Getting Started with React Native
- C# Multithreaded and Parallel Programming
- Java Hibernate Cookbook
- Continuous Delivery and DevOps:A Quickstart Guide Second Edition
- Web開發(fā)的平民英雄:PHP+MySQL
- Spring Data JPA從入門到精通
- jQuery Mobile Web Development Essentials(Second Edition)
- C語言程序設(shè)計教程
- 安卓工程師教你玩轉(zhuǎn)Android