Jun 15 2021 04:33 AM - edited Jun 15 2021 04:35 AM
I am trying to execute a PowerShell script on all Intune managed machines and collect the output of the script afterwards.
Echo "Hello World from $env:computername"
I managed to upload and execute the PowerShell script using Devices > Policy > Scripts sections, but I cannot get the output of the script.
What is the right approach to collect such data? Where can I see the "Hello world from MY-DEVICE" printed, or what system should I use to retrieve the information?
Jun 15 2021 07:56 AM
Jun 15 2021 08:12 AM
Jun 15 2021 08:28 AM