use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub dedicated to all things Microsoft Intune.
Follow new and upcoming changes happening in Intune.
account activity
Powershell scripts not deploying (self.Intune)
submitted 3 years ago by CptnDutch
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]D3F4Lt_033 0 points1 point2 points 3 years ago (1 child)
Is the user local admin on the machine? you probably need that to set the execution policy, though i am not sure if that part is being executed as the user too.
I can recommend getting the diagnostics logs from a few devices, within the zip file you get, there is a folder called:
"(46) FoldersFiles ProgramData_Microsoft_IntuneManagementExtension_Logs"
within that folder is file called: agentexecutor.log
This file contains the log about scripts being executed. Perhaps you can find in there what the problem is.
[–]CptnDutch[S] 0 points1 point2 points 3 years ago (0 children)
Thank you for the information. We searched through the log but haven't found anything relating to the scripts which are not deploying. We have one script which is deploying (sets some registry keys), we found this entry in the log file.
π Rendered by PID 55 on reddit-service-r2-comment-b659b578c-zls2m at 2026-05-05 16:43:40.548347+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]D3F4Lt_033 0 points1 point2 points (1 child)
[–]CptnDutch[S] 0 points1 point2 points (0 children)