Various scripts for use with devices managed Microsoft Endpoint Manager / Intune.
Also see the proactive-remediations repository for scripts to use with Endpoint Analytics Proactive Remediations.
Scripts and tools for use with Microsoft Intune
Home Page: https://stealthpuppy.com
License: MIT License
Various scripts for use with devices managed Microsoft Endpoint Manager / Intune.
Also see the proactive-remediations repository for scripts to use with Endpoint Analytics Proactive Remediations.
Line 52:
$bdeProtect = Get-BitLockerVolume $OSDrive | Select-Object -Property VolumeStatus
Should have KeyProtector property added otherwise the -lt statements beneath it fail. i.e. this:
$bdeProtect = Get-BitLockerVolume $OSDrive | Select-Object -Property VolumeStatus,KeyProtector
Also, my drive is fully encrypted and has a key, with the logic at the moment it ends up having this run against it:
manage-bde -on $OSDrive -UsedSpaceOnly
which doesn't do anything (because it's already encrypted), it'd be nice not to do that at all though, it's not in a "Wait State".
Not a major issue, but worth pointing out that the scripts (Invoke-Uev.ps1, Get-AzureBlobItem.ps1, Detect-Uev.ps1) don't work if the blob storage only contains one xml file, as soon as there are two or more it works perfectly, thank you for the hard work :)
I assume it if the Get-AzureBlobItem function and have seen this myself at times when constructing lists, ultimately anybody useing UE-V is going to have more than one custom xml, so not a biggy but if you are testing with one xml then it will fail and some might find it hard to figure out why, so worth putting in the readme about using at least 2 files.
I think this is a great script, Redirect-Folders.ps1
However, I also found a problem. I am Chinese, and the display language of the Windows 10 operating system is Simplified Chinese. After running this script, several user folders became English.
before redirect:
after redirect:
How can I keep the original language after redirection?
below is log file:
Redirect-UserFoldersToAnotherDrive-133031914572062416.log
I found that on Dutch laptops, the script didn't work.
I changed the following to make the scripts (both Scheduled Task script and Redirect script) more "international":
old:
[Parameter()]$Group = "BUILTIN\Users",
new:
[Parameter()]$Group = "." + (Get-LocalGroup -SID S-1-5-32-545).Name,
Regards,
Jeroen
When I use this script to redirect my downloads folder, it successfully sets my oneshare folder as the new location for my downloads folder... However downloads are still going to C:\user<username>\downloads. Is there no way to fix this behavior?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.