Forum Discussion
b-rad86
Jun 20, 2024Copper Contributor
Powershell JEA - WMI Queries
Hi, I'm looking at using PowerShell JEA to run some WMI queries aimed at monitoring servers. Is this possible? An example of the query is below. The objective is to prevent the service account...
b-rad86
Jul 29, 2024Copper Contributor
Thanks DTB, I was able to execute all the lines of script until the "Register-PSSessionConfiguration" line. I get the following error DTB
sdtslmn
Jul 30, 2024Brass Contributor
The Register-PSSessionConfiguration command requires administrative privileges. Make sure you are running the PowerShell session as an administrator.