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 used by the monitoring application from having local administrator access.
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 used by the monitoring application from having local administrator access. SELECT Name,VolumeName,FileSystem from Win32_LogicalDiskWHERE DriveType=’3’SELECT Name fromWin32_PerfRawData_PerfDisk_LogicalDiskSELECT Name fromWin32_PerfRawData_PerfDisk_PhysicalDisk Read More