WMI
WMI for quering active networks and associate connections
I need to change Network settings like described in this article. That works good so far. However I also need to know on what active network I make the changes.[详细]
2023-04-02 05:33 分类:问答Local Security policy using WMI
I need to retrieve list of users/groups who have access to perform volume maintain tasks using WMI objects on remote machine.[详细]
2023-04-01 12:11 分类:问答IIS6 Classic ASP WMI Permissions
I\'m developing a simple internal Classic ASP website (served by IIS6) to help reboot a handful of remote computers.[详细]
2023-04-01 11:26 分类:问答Get the total amount of pages from Win32_PrintJob
The Win32_PrintJob WMI class has lots of properties. (see: Win32_PrintJob on MSDN) I have a small .NET application that poles the printing jobs and displays the jobs\' information.[详细]
2023-04-01 04:57 分类:问答How to list all properties of a PowerShell WMI object
When I look at the Win32_ComputerSystem class, it shows loads of properties like Status, PowerManagementCapabilities, etc. However, when in PowerShell I do the below I only get back a couple:[详细]
2023-03-31 20:20 分类:问答How to change a printer's PortName using c#
I\'ve scanned SO and didn\'t see this question posted, sorry if I missed it and this is a repeat. I can locate the network printer in the PrinterSettings.InstalledPrinters, and fetch the \"PortName\"[详细]
2023-03-31 07:45 分类:问答Restart App Pool from ASP.NET via WMI Problems
I\'ve been trying to create a C# ASP.NET page which sits on a Windows Server 2003 IIS 6 server and when called (remotely), restarts/recycles a specific application pool on the server.[详细]
2023-03-31 04:03 分类:问答How to log peak commit charge for a system
Are there any classes in WMI that can help me extract the Peak Memory Commit开发者_高级运维 Charge for a system?The value can be viewed in Task Manager/\"Commit Charge (K)\"/\"Peak\", however, I would[详细]
2023-03-30 19:11 分类:问答Unable to create Generic Service in cluster using WMI script
I want to create a Cluster Generic Service using script. We have Windows Server 2008 R2 with Hyper-V. Am using Add-ClusterGenericServiceRole command Now i am facing 2 problems.[详细]
2023-03-30 04:13 分类:问答TargetInstance ISA 'Win32_SerialPort'"
C#, WPF, Windows 7, PC, Visaul Studio 2010 I try to trap when the user attach a COM port to the PC by doing this[详细]
2023-03-29 11:00 分类:问答