Forum Discussion

Ashique_Abbas's avatar
Ashique_Abbas
Copper Contributor
Oct 23, 2023

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

Resources