CLI for Microsoft 365
In the previous section, we discussed TPM, and you learned about the prerequisites of PowerShell Version 5.1 and later, and how it only works on Windows machines. However, platform independence is the new mantra, and whatever you can build should work beyond the Windows operating system. Therefore, we need a way to build scripts to administer Microsoft 365 through non-Windows platforms.
CLI for Microsoft 365 is a PnP-based initiative between Microsoft employees and community-based SMEs.
We have several other initiatives built on the PnP model, and a few of them are as follows:
- PnPJS: This is a collection of JavaScript libraries for Microsoft Graph REST APIs
- Generator-spfx: This is an open source generator that extends the Microsoft SPFx generator capabilities
- PnP PowerShell: This is a cross-platform-based PowerShell module to connect Microsoft 365, running on any platform that supports .NET Core.
CLI for Microsoft 365 is another important...