Open JamesHeathcote opened 1 month ago
Hey @JamesHeathcote What script was this? Happy to look and see if I can fix it for you.
Hi Adam,
Thank you for looking, this was the Update-ChocolateyApps for both Detect and Remediate
Happy to try and obtain logs from Chocolatey or Intune to help.
The other common issue we are seeing is a device timeout being hit which seems like intune has a hard limit of 300 seconds, not sure if you’d seen that with other scripts.
Kind regards
James
James Heathcote Technical Operations Manager – Information and Security The Granary, Abbey Mill Business Park, Guildford, Surrey . GU7 2QW T +44 (0)1483 926060<tel:+44%20(0)1483%20926060> M +44 (0)7960 734577<tel:+44%20(0)7960%20734577> [www.unily.com]https://www.unily.com/ Click here to book a meeting with @./bookings/>! @.https://www.unily.com/unite From: Adam @.> Sent: Wednesday, August 7, 2024 2:11 PM To: JayRHa/EndpointAnalyticsRemediationScripts @.> Cc: James Heathcote @.>; Mention @.> Subject: Re: [JayRHa/EndpointAnalyticsRemediationScripts] Update-ChocolateyApps Error reading apps: Exception calling "Substring" with "2" argument(s): "Length cannot be less than zero. (Issue #81)
You don't often get email from @.**@.>. Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
This message was sent from outside the company. Please do not click links or open attachments unless you recognize the source of this email and know the content is safe.
Hey @JamesHeathcotehttps://github.com/JamesHeathcote What script was this? Happy to look and see if I can fix it for you.
— Reply to this email directly, view it on GitHubhttps://github.com/JayRHa/EndpointAnalyticsRemediationScripts/issues/81#issuecomment-2273439332, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKB7D7JVSZVUMFHLNWZ63Q3ZQIMGTAVCNFSM6AAAAABLD2YOE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZTGQZTSMZTGI. You are receiving this because you were mentioned.Message ID: @.**@.>>
The information contained in this message is intended for the addressee only and may contain classified information. If you are not the addressee, please delete this message and notify the sender; you should not copy or distribute this message or disclose its contents to anyone. Any views or opinions expressed in this message are those of the individual(s) and not necessarily of the organization. No reliance may be placed on this message without written confirmation from an authorised representative of its contents. No guarantee is implied that this message or any attachment is virus free or has not been intercepted and amended. Visit https://www.unily.com/legal/privacy-policy for our Privacy Policy
Yea post the log. I wonder if your IP is hitting the rate limit with Chocolatey,
We are using chocolatey for business so we aren’t limited by rate limiting. James Heathcote Technical Operations Manager – Information and Security The Granary, Abbey Mill Business Park, Guildford, Surrey . GU7 2QW T +44 (0)1483 926060<tel:+44%20(0)1483%20926060> M +44 (0)7960 734577<tel:+44%20(0)7960%20734577> [www.unily.com]https://www.unily.com/ Click here to book a meeting with @./bookings/>! @.https://www.unily.com/unite
From: Adam @.> Sent: Wednesday, August 7, 2024 7:52:12 PM To: JayRHa/EndpointAnalyticsRemediationScripts @.> Cc: James Heathcote @.>; Mention @.> Subject: Re: [JayRHa/EndpointAnalyticsRemediationScripts] Update-ChocolateyApps Error reading apps: Exception calling "Substring" with "2" argument(s): "Length cannot be less than zero. (Issue #81)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
This message was sent from outside the company. Please do not click links or open attachments unless you recognize the source of this email and know the content is safe.
Yea post the log. I wonder if your IP is hitting the rate limit with Chocolatey,
— Reply to this email directly, view it on GitHubhttps://github.com/JayRHa/EndpointAnalyticsRemediationScripts/issues/81#issuecomment-2274134121, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKB7D7L3NQEIZBPGJZOV4ZDZQJUFZAVCNFSM6AAAAABLD2YOE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZUGEZTIMJSGE. You are receiving this because you were mentioned.Message ID: @.***>
The information contained in this message is intended for the addressee only and may contain classified information. If you are not the addressee, please delete this message and notify the sender; you should not copy or distribute this message or disclose its contents to anyone. Any views or opinions expressed in this message are those of the individual(s) and not necessarily of the organization. No reliance may be placed on this message without written confirmation from an authorised representative of its contents. No guarantee is implied that this message or any attachment is virus free or has not been intercepted and amended. Visit https://www.unily.com/legal/privacy-policy for our Privacy Policy
Multiple devices are displaying the following in PreRemediationDetectionScriptError
C:\WINDOWS\IMECache\HealthScripts\344df8ae-cb9b-466b-bfe3-088003882b53_2\detect.ps1 : Error reading apps: Exception calling "Substring" with "2" argument(s): "Length cannot be less than zero. Parameter name: length"
The DetectionScriptStatus returns Without Issues and RemediationScriptStatus Not run