Intune Powershell script to Detect Disk Partition

Rohanathan Suresh 21 Reputation points
2022-04-27T11:10:06.783+00:00

Hi @Lu Dai-MSFT 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!

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,729 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,365 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lu Dai-MSFT 28,356 Reputation points
    2022-04-28T03:07:41.217+00:00

    @Rohanathan Suresh 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.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Rohanathan Suresh 21 Reputation points
    2022-04-28T15:58:44.017+00:00

    Thanks for your input @Lu Dai-MSFT

    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.


  2. Rohanathan Suresh 21 Reputation points
    2022-04-29T04:00:26.543+00:00

    Thank you very much for the information @Lu Dai-MSFT

    Been following your answers regularly, really helpful in deployments.