Forum Discussion

cumpleby's avatar
cumpleby
Copper Contributor
Sep 03, 2025

SharePoint page to display Computer Information

Is it possible to have a sharepoint page display computer information on the page from the users device (Machine name, ip, logged in user, OS Version etc)?  I have a powershell script that can get this information however I've not found a way i can run this on the page when it opens.  Any help would be apricated.

 

thanks

3 Replies

  • PankajBadoni's avatar
    PankajBadoni
    Iron Contributor

    Hi cumpleby​,

    Getting detailed information about a user’s computer—like the machine name, OS version, or machine logged-in account—directly from a web browser is pretty limited, and that’s by design. Browsers are built to protect user privacy, so they block websites from accessing sensitive system details that could be misused.

    That said, you can still collect some basic environment info, like the user’s browser type, IP address, and screen resolution. PowerApps or SPFx with JavaScript can help you display that kind of data on a SharePoint page—but anything deeper than that (like machine-level details) just isn’t accessible from the browser for security reasons.

     

Resources