We need to get the status of few commands from a domain environment of around 400 machines. All may be windows 10 and windows 11 machines. Need to run this activity couple of times in a day.
This may required few Power Shell commands with admin credentials OR we may run this from GPO. But I don’t know where can we save the status result from machines
(Power Shell script running is disabled via GPO so we may need to run PowerShell commands directly)
Commands status result are required (windows 10/11):
Please keep in mind … This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.
We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.
This doesn’t sound like a job for Powershell. This sounds like a job for Microsoft Endpoint Configuration Manager, Intune, Azure Arc, Azure Sentinel , etc. Hopefully you’re already using one of those and you can work on getting the endpoint information you want in that way.