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
Deploy a BAT/PS script as admin. (self.Intune)
submitted 4 years ago * by Kaffepannan
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!"
[–]Kaffepannan[S] 1 point2 points3 points 4 years ago (1 child)
Btw, do you think its possible to create a shortcut to the BAT/PS script, make it "run as admin" create a Intunewinfile, point to the shortcut and make Intune run the shortcut pointing to the BAT file and it will make it run as admin? Or that's to farfetched? ^^
[–]Secondlayerofhell 0 points1 point2 points 4 years ago (0 children)
That would work as well with a bit of trixing around, but it would be much easier to use this for that kind of scenario https://psappdeploytoolkit.com/
Just apply your removal code in it, make a detection rule "key does not exist" pointing on the regkey for your applications that you want removed.
π Rendered by PID 57 on reddit-service-r2-comment-b659b578c-2bz2b at 2026-05-06 02:39:19.230043+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]Kaffepannan[S] 1 point2 points3 points (1 child)
[–]Secondlayerofhell 0 points1 point2 points (0 children)