Get-GraphScriptPermission is a PowerShell function designed to extract and organize Microsoft Graph permissions from a scriptblock, offering insights into command usage, associated privileges, and emphasizing the principle of least privilege by filtering permissions based on relevance to the command and verb. It simplifies the identification and analysis of permissions within your scripts.
HCRitter/MicrosoftGraphScripts
All my 'usefull' PowerShell scripts to manage Microsoft.Graph
PowerShellMIT