DSCResources/MSFT_IntuneDeviceConfigurationPlatformScriptWindows/settings.json

{
  "resourceName": "IntuneDeviceConfigurationPlatformScriptWindows",
  "description": "This resource configures an Intune Device Configuration Platform Script Windows.",
  "permissions": {
    "graph": {
      "delegated": {
        "read": [
          {
            "name": "Group.Read.All"
          },
          {
            "name": "DeviceManagementScripts.Read.All"
          }
        ],
        "update": [
          {
            "name": "Group.Read.All"
          },
          {
            "name": "DeviceManagementScripts.ReadWrite.All"
          }
        ]
      },
      "application": {
        "read": [
          {
            "name": "Group.Read.All"
          },
          {
            "name": "DeviceManagementScripts.Read.All"
          }
        ],
        "update": [
          {
            "name": "Group.Read.All"
          },
          {
            "name": "DeviceManagementScripts.ReadWrite.All"
          }
        ]
      }
    }
  },
  "requiredModules": [
    "Microsoft.Graph.Authentication",
    "Microsoft.Graph.Beta.DeviceManagement",
    "Microsoft.Graph.Groups"
  ],
  "supportedEnvironments": [
    "Global",
    "USGov"
  ],
  "mode": "Configuration",
  "commands": [
    {
      "module": "Microsoft.Graph.Beta.DeviceManagement",
      "cmdlets": [
        "Get-MgBetaDeviceManagementAssignmentFilter",
        "Get-MgBetaDeviceManagementScript",
        "Get-MgBetaDeviceManagementScriptAssignment",
        "New-MgBetaDeviceManagementScript",
        "Remove-MgBetaDeviceManagementScript",
        "Update-MgBetaDeviceManagementScript"
      ]
    },
    {
      "module": "Microsoft.Graph.Groups",
      "cmdlets": [
        "Get-MgGroup"
      ]
    }
  ]
}