Forum Discussion
How to get the PS script output on a centralize location e.g. SharePoint Online list
I am trying to run the below PS command to some 400+ PC using SCCM and I wanted to get the output of the command on a SharePoint online list for each execution on PC. Is there a way I can modify the script to get the Output on the SharePoint Online list.
Get-WmiObject -Namespace "Root\CIMv2\Security\MicrosoftTpm" -Class Win32_Tpm
Thanks & Regards,
Ashique Abbas Sayyed
- SchnittlauchSteel Contributor
Hi Ashique_Abbas,
I'm not sure if I got you right, but in SharePoint Online you are limited to the SPO Commandlets from the SharePoint Online PowerShell Module.
Connect-SPOService (Microsoft.Online.SharePoint.PowerShell) | Microsoft Learn
Sorry and thanks in advance,
Schnittlauch
- Ashique_AbbasCopper Contributor
Schnittlauch Thanks for your response. My requirement is to get the Windows PowerShell output to be store on a centralize SharePoint online list location once the script execute of a user PC.
Thank you