win32LobAppPowerShellScriptRequirement 资源类型

命名空间:microsoft.graph

重要: /beta 版本下的 Microsoft Graph API 可能会更改;不支持生产使用。

注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证

包含用于检测 Win32 应用的 PowerShell 脚本属性

继承自 win32LobAppRequirement

属性

属性 类型 说明
operator win32LobAppDetectionOperator 用于检测的运算符继承自 win32LobAppRequirement。 可取值为:notConfiguredequalnotEqualgreaterThangreaterThanOrEquallessThanlessThanOrEqual
detectionValue String 检测值继承自 win32LobAppRequirement
displayName String 此规则的唯一显示名称
enforceSignatureCheck 布尔值 一个值,该值指示是否强制执行签名检查
runAs32Bit 布尔值 一个值,该值指示此脚本是否应以 32 位的形式运行
runAsAccount runAsAccountType 指示运行脚本的执行上下文的类型。 可取值为:systemuser
scriptContent String 用于检测 Win32 业务线 (LoB) 应用的 base64 编码脚本内容
detectionType win32LobAppPowerShellScriptDetectionType 脚本输出的检测类型。 可取值为:notConfiguredstringdateTimeintegerfloatversionboolean

关系

JSON 表示形式

下面是资源的 JSON 表示形式。

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