Search the Community
Showing results for tags 'execquery'.
-
Never experienced anything like this before, so to you I come for help... I'm in the process of rewriting my fork of JSThePatriot's excellent Computer Information library, and my current project is rewriting the User profiling function. One of the new features I've added in is gathering the list of...
- 4 replies
-
- wmi
- associators
-
(and 3 more)
Tagged with:
-
Hi folks, I am working with win32_printerconfiguration for checking the duplex option is installed or not in the printers. $objWMIService = ObjGet("winmgmts:\\" & @ComputerName & "\root\CIMV2") $Error_WMI = @error If IsObj($objWMIService) Then $colItemsa = $o...
- 8 replies
-
- wmi
- win32_printer
-
(and 2 more)
Tagged with:
-
Hi, Im trying to pull out some network adapter settings, this is my script: $colAdapters = $objWMIService.ExecQuery ("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True") For $objAdapter in $colAdapters If Not ($objAdapter.IPAddress) = " " Then ConsoleWrite (" ID:...
- 7 replies
-
- $objWMIService.ExecQuery
- ExecQuery
- (and 1 more)