Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 install a Win32 app on an end-user device managed by Intune.
Inherits from win32LobAppScript
Methods
| Method | Return Type | Description |
|---|---|---|
| List win32LobAppInstallPowerShellScripts | win32LobAppInstallPowerShellScript collection | List properties and relationships of the win32LobAppInstallPowerShellScript objects. |
| Get win32LobAppInstallPowerShellScript | win32LobAppInstallPowerShellScript | Read properties and relationships of the win32LobAppInstallPowerShellScript object. |
| Create win32LobAppInstallPowerShellScript | win32LobAppInstallPowerShellScript | Create a new win32LobAppInstallPowerShellScript object. |
| Delete win32LobAppInstallPowerShellScript | None | Deletes a win32LobAppInstallPowerShellScript. |
| Update win32LobAppInstallPowerShellScript | win32LobAppInstallPowerShellScript | Update the properties of a win32LobAppInstallPowerShellScript 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.win32LobAppInstallPowerShellScript",
"id": "String (identifier)",
"displayName": "String",
"content": "String",
"state": "String",
"enforceSignatureCheck": true,
"runAs32Bit": true
}