question

RohanathanSuresh-1196 avatar image
0 Votes"
RohanathanSuresh-1196 asked saldana-msft edited

Intune Powershell script to Detect Disk Partition

Hi @LuDaiMSFT-0289 Just wanted to know if there any powershell script to detect List of Disk Partition and Space occupied in Intune Managed devices.

And can we view the data from the Endpoint Console without intervention of users? For that matter it may be any script that is trying to fetch any specific device detail, can the output of that script be viewed from console or any other method to access the output of script?

Thanks in advance!

mem-intune-generalmem-intune-device-configurationsmem-intune-admin-center
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LuDaiMSFT-0289 avatar image
1 Vote"
LuDaiMSFT-0289 answered

@RohanathanSuresh-1196 Thanks for posting in our Q&A. I'm not a support engineer of powershell and know little about it. I just solve some problems during the powershell script deployment.

From your description, did you mean that you want to see Space occupied and device information in intune portal? If yes, I think we can check specific device information in Devices > Windows > select a specific device > hardware. Space occupied is also included in the hardware page.
197128-image.png

Thanks for your understanding.


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (32.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RohanathanSuresh-1196 avatar image
0 Votes"
RohanathanSuresh-1196 answered LuDaiMSFT-0289 commented

Thanks for your input @LuDaiMSFT-0289

But I have one quick query, supposing I'm publishing a script from Endpoint console.

Is there a way to view the output of that script from the console itself ; any option that we should enable before deploying for viewing the output as an admin ?

Or we can only push the script, view the install/fail status and get the output files locally from the end user device only?

Any idea on that part? If yes, please let me know.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RohanathanSuresh-1196 Currently, intune doesn't have the ability to view the output and we only can see the succeed/failed status about this script in intune portal.

Based on my understanding about scripts deployment via intune, intune is just like a tool to deploy scripts. Intune only cares about deployment success or failure, doesn't care what function the script implements and what value it outputs.

1 Vote 1 ·
RohanathanSuresh-1196 avatar image
0 Votes"
RohanathanSuresh-1196 answered LuDaiMSFT-0289 commented

Thank you very much for the information @LuDaiMSFT-0289

Been following your answers regularly, really helpful in deployments.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@RohanathanSuresh-1196 You're welcome. I'm glad to discuss with you. If you have any problem in the future, welcome to post in our Q&A.

Thanks for your kindness and have a nice day. : )

1 Vote 1 ·