win32LobAppPowerShellScriptRequirement resource type

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

Contains PowerShell script properties to detect a Win32 App

Inherits from win32LobAppRequirement

Properties

Property Type Description
operator win32LobAppDetectionOperator The operator for detection Inherited from win32LobAppRequirement. Possible values are: notConfigured, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual.
detectionValue String The detection value Inherited from win32LobAppRequirement
displayName String The unique display name for this rule
enforceSignatureCheck Boolean A value indicating whether signature check is enforced
runAs32Bit Boolean A value indicating whether this script should run as 32-bit
runAsAccount runAsAccountType Indicates the type of execution context the script runs in. Possible values are: system, user.
scriptContent String The base64 encoded script content to detect Win32 Line of Business (LoB) app
detectionType win32LobAppPowerShellScriptDetectionType The detection type for script output. Possible values are: notConfigured, string, dateTime, integer, float, version, boolean.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.win32LobAppPowerShellScriptRequirement",
  "operator": "String",
  "detectionValue": "String",
  "displayName": "String",
  "enforceSignatureCheck": true,
  "runAs32Bit": true,
  "runAsAccount": "String",
  "scriptContent": "String",
  "detectionType": "String"
}