Handle Microsoft 365 and SharePoint with CLI for Microsoft 365

by admin

If you happen to’re an admin in command of Microsoft 365, utilizing CLI for Microsoft 365 could make you extra productive. Whereas PowerShell stays a go-to device for a lot of admins to handle and tweak Microsoft and SharePoint configurations, not everybody makes use of a Home windows gadget on a regular basis. CLI for Microsoft 365 is a cross-platform device that can be utilized on all working programs. CLI for Microsoft 365 may also be used to handle settings in your SharePoint Framework tasks.

[tg_youtube video_id=”cRYmlkxOPP8″]

Month-to-month releases

Even should you’ve been utilizing CLI for Microsoft 365, remember Microsoft releases new variations month-to-month. Every model provides some nifty new performance. If you happen to haven’t used the device, right here’s the command to put in it:

npm i -g @pnp/cli-microsoft365

As soon as put in, use the login command to get began:

m365 login

And you’ll see an inventory of accessible instructions by typing this on the command immediate:

m365 assist

As for what’s new, Microsoft’s Gary Trinder gave customers a glance beneath the hood at v3.12 in a current weblog put up.

Among the many new instructions is CLI physician, a diagnostic device that Gary says will provide you with “data wanted to triage and debug CLI points with out exposing any security-sensitive particulars.” Right here’s the command:

m365 cli physician

Microsoft

There are additionally a number of new instructions that can assist you handle Microsoft Planner. For instance, you’ll be able to create new buckets with this straightforward command:

m365 planner bucket add --name "My Planner Bucket" --planName "My Planner Plan" --ownerGroupName "My Planner Group"

Equally, you’ll be able to see details about your current Planner buckets with this command:

m365 planner bucket checklist --planName "My Plan" --ownerGroupName "My Group"

Get OneDrive data

For customers of OneDrive, this command provides you details about OneDrive websites in your Microsoft 365 tenant:

m365 onedrive checklist

The place to seek out CLI for Microsoft 365 scripts

Better of all, the variety of scripts utilizing CLI for Microsoft 365 will proceed to develop as admins and different customers share their creations. Microsoft is gathering scripts at this GitHub web site. The location contains scripts for a number of Microsoft merchandise, together with Azure Lively Listing, Microsoft Groups, Microsoft Graph, and SharePoint On-line.

Featured picture: Shutterstock

You may also like

@2022 - Designed and Developed by mamam1a