- 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
- Magento 2 Theme Design(Second Edition)
- 深入實踐Spring Boot
- HTML5+CSS3+JavaScript Web開發案例教程(在線實訓版)
- R Data Analysis Cookbook(Second Edition)
- SSM開發實戰教程(Spring+Spring MVC+MyBatis)
- Raspberry Pi Robotic Blueprints
- Illustrator CC平面設計實戰從入門到精通(視頻自學全彩版)
- HTML5移動前端開發基礎與實戰(微課版)
- Microsoft HoloLens By Example
- 可視化H5頁面設計與制作:Mugeda標準教程
- MonoTouch應用開發實踐指南:使用C#和.NET開發iOS應用
- .NET應用架構設計:原則、模式與實踐
- 天天學敏捷:Scrum團隊轉型記
- Instant MongoDB
- C++程序設計基礎(下)