From 93b30eb933f5b681fdf4f027edf1ce6e2a1241e0 Mon Sep 17 00:00:00 2001 From: DukeDexter <86385353+DukeDexter@users.noreply.github.com> Date: Fri, 24 Apr 2026 10:11:51 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d40da98..c3b56b1 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,16 @@ Intune One Data Collector (ODC) is a support script to enable the collection of To run this tool, open an elevated PowerShell window (right-click, "Run as administrator..."), create a temporary folder, then run these three commands: - wget https://aka.ms/intunePS1 -outfile IntuneODCStandAlone.ps1 - wget https://aka.ms/intuneXML -outfile Intune.xml - PowerShell -ExecutionPolicy Bypass -File .\IntuneODCStandAlone.ps1 +# validate path and create a temporary folder +if (!(test-path c:\ODC)){md C:\ODC} +cd c:\msftODC\ + +# main commands +wget https://aka.ms/intunexml -outfile Intune.xml +wget https://aka.ms/intuneps1 -outfile IntuneODCStandAlone.ps1 +powerShell -ExecutionPolicy Bypass -File .\IntuneODCStandAlone.ps1 + +It usually takes 3-5 minutes to run, but can take up to 30 minutes. The user is welcome to use the device while it's running, just don't close out the PowerShell window. (**Hint**: You can copy and paste the commands from this page and paste them directly in to the PowerShell window. If you need to type the commands, please be aware that there are two different URIs for the two files.) From 1d85f9837c1ae00272851c35e73460b25126daa0 Mon Sep 17 00:00:00 2001 From: DukeDexter <86385353+DukeDexter@users.noreply.github.com> Date: Fri, 24 Apr 2026 18:10:40 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index c3b56b1..debb745 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ To run this tool, open an elevated PowerShell window (right-click, "Run as admin # validate path and create a temporary folder if (!(test-path c:\ODC)){md C:\ODC} cd c:\msftODC\ - # main commands wget https://aka.ms/intunexml -outfile Intune.xml wget https://aka.ms/intuneps1 -outfile IntuneODCStandAlone.ps1