r/PowerShell • • Feb 20 '26

News PowerShell 7.6 - RC 1 Release

36 Upvotes

34 comments sorted by

View all comments

Show parent comment

3

u/DragonspeedTheB Feb 20 '26

I just found finding the right graph module too much of a PITA. The rest calls will always be the right one 😎

3

u/AdeelAutomates Feb 20 '26 edited Feb 21 '26

API is life. I have been using it more and more for all Microsoft not just Graph.

For instance I made a rather complex KQL query the other day on Azure Resource Graph. Took it over to PowerShell and ran it with Search-AzGraph.... and some fields outputted were empty.

Switched over to the API and it worked exactly like it did in Azure Resource Graph.

1

u/BlackV Feb 21 '26

https://learn.microsoft.com/en-us/powershell/microsoftgraph/find-mg-graph-command

may help, but yes the APi call is more change resistant (module hell)