Edit

win32LobAppUninstallPowerShellScript resource type

Namespace: microsoft.graph

Important: Microsoft supports Intune /beta APIs, but they are subject to more frequent change. Microsoft recommends using version v1.0 when possible. Check an API's availability in version v1.0 using the Version selector.

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

A representation of a PowerShell script that is used to uninstall a Win32 app on an end-user device managed by Intune.

Inherits from win32LobAppScript

Methods

Method Return Type Description
List win32LobAppUninstallPowerShellScripts win32LobAppUninstallPowerShellScript collection List properties and relationships of the win32LobAppUninstallPowerShellScript objects.
Get win32LobAppUninstallPowerShellScript win32LobAppUninstallPowerShellScript Read properties and relationships of the win32LobAppUninstallPowerShellScript object.
Create win32LobAppUninstallPowerShellScript win32LobAppUninstallPowerShellScript Create a new win32LobAppUninstallPowerShellScript object.
Delete win32LobAppUninstallPowerShellScript None Deletes a win32LobAppUninstallPowerShellScript.
Update win32LobAppUninstallPowerShellScript win32LobAppUninstallPowerShellScript Update the properties of a win32LobAppUninstallPowerShellScript object.

Properties

Property Type Description
id String The unique identifier of the script associated with a mobileLobApp entity. This property is read-only. Inherited from mobileAppContentScript
displayName String The display name for the script. Inherited from mobileAppContentScript
content String The content of the script. This is a Base64-encoded representation of the script's original content. The content has a maximum size limit of 100KB. Inherited from mobileAppContentScript
state mobileAppContentScriptState Indicates the state of the script upload. Possible values are commitPending, commitSuccess, and commitFailed. This property is read-only. Inherited from mobileAppContentScript. Possible values are: commitPending, commitSuccess, commitFailed, unknownFutureValue.
enforceSignatureCheck Boolean Indicates whether or not to enforce a signature check when running the script. When TRUE, the script cannot be run without enforcing a signature check. When FALSE, no signature check will be enforced when running the script. Default value is FALSE. Inherited from win32LobAppScript
runAs32Bit Boolean Indicates whether the script will run as 32-bit or 64-bit. When TRUE, the script will run as 32-bit. When FALSE, the script will run as 64-bit. Default value is FALSE. Inherited from win32LobAppScript

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.win32LobAppUninstallPowerShellScript",
  "id": "String (identifier)",
  "displayName": "String",
  "content": "String",
  "state": "String",
  "enforceSignatureCheck": true,
  "runAs32Bit": true
}