Skip to content

Commit 9b19392

Browse files
Merge pull request #8643 from tycastMSFT/patch-47
Adding limits info
2 parents d31dd81 + adf5dba commit 9b19392

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

memdocs/intune/protect/compliance-custom-script.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ PS C:\Users\apervaiz\Documents> .\sample.ps1
7272

7373
5. Complete the script creation process. The script is now visible in the *Scripts* pane of the Microsoft Endpoint Manager admin center and will be available to select when configuring compliance policies.
7474

75+
## Limits
76+
77+
The scripts you write must be within these limits in order to successfully return compliance data to Intune:
78+
79+
- Scripts can be no larger than 1 megabyte (MB) each.
80+
- Output generated by each script can be no larger than 1 MB.
81+
- Scripts must take 10 minutes or less to run.
82+
7583
## Next steps
7684

7785
- [Use custom compliance settings](../protect/compliance-use-custom-settings.md)

0 commit comments

Comments
 (0)