

Microsoft Graph PowerShell Preview - Now on PowerShell Gallery - Microsoft 365 D...
source link: https://developer.microsoft.com/en-us/microsoft-365/blogs/microsoft-graph-powershell-preview-now-on-powershell-gallery/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Microsoft Graph PowerShell Preview – Now on PowerShell Gallery
The Microsoft Graph PowerShell Preview 0.1.1 is now available on the PowerShell Gallery.
Install
You can install the package using:
Install-Module Microsoft.Graph
Although this new version is now called just Microsoft.Graph, without the beta suffix, for the moment it still targets the Beta APIs only. Future updates of this module will allow you to select between targeting the V1 or the Beta API. Details on how to uninstall the old version are provided in the GitHub repo.
Discover
You can use the following command to discover the commands that are included in the Microsoft Graph modules.
get-command -Module Microsoft.Graph.*
Check out the samples in our GitHub repository for examples of what you can do.
Prefixed
Based on community feedback the Microsoft Graph module has introduced a prefix to all the Microsoft Graph cmdlets to reduce the chance of conflicts with existing modules. Now, instead of calling:
Get-User
the new command is,
Get-MgUser
What’s Changed
More details on the changes that have gone into this release can be found in our GitHub milestones.
Join the Microsoft 365 Developer Program
Start building secure, intelligent solutions with Microsoft 365 today.
Recommend
-
13
Unattended authentication against the Microsoft Graph API from PowerShell Oct 30, 2017 Background - Microsoft Graph You can use the Microsoft Graph API to interact with the data of millions of...
-
8
Welcome to Microsoft Build 2021 After an extraordinary year, we’re emerging into a new world of hybrid work. Meeting the needs of customers and organizations will require more from our services. More intelligence, more security, more...
-
11
Checking Microsoft 365 Group resources via the Graph API Ever since the release of Office 365 Groups (now Microsoft 365 Groups), the marketing and product folks at Microsoft have been nagging customers to switch t...
-
8
Microsoft 365 Lighthouse is now in public preview Microsoft 365 Lighthouse is now in public preview
-
10
Authenticating to Microsoft Graph with PowerShell - (2021) Published: 18 Jul 2021 File under:
-
26
PnP Batch versus Microsoft Graph Batch in PowerShell to add/delete 3k items
-
16
Liam Cleary [MVP and MCT] Architecture, Development, Security, Hacking and anything that I deem as important...
-
37
Microsoft Graph PowerShell v2 is now in public preview, half the size, and will speed up your automations
-
3
Report on Microsoft 365 mailbox forwarding (all methods) via PowerShell For this week’s “updated PowerShell script” entry, we will cover the scenario of generating a report of all Microsoft 365 mailboxes with some form...
-
9
Microsoft fails to fix major PowerShell Gallery security flaws even after claiming it did...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK