-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have two scripts. One calls the other with a list of servers as parameters. The second query is designed to execute a WMI query. When I run it manually, it does this perfectly. When I try to run it as a job it hangs forever and I have to remove it.
For the sake of space here is the relevant part…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hi,
I want to query lots of HP servers to determine their overall health. I don't want to use any packages, or even SNMP - I want to query the server health from WMI and understand if a box is Green/Amber/Red - just like the HP Management Home Page.
This MUST be possible - but I can't find any…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
In Windows XP, there are two settings in Group Policy I'm looking at:
Password must meet complexity requirements
Store password using reversible encryption
Both of these settings are under Local Computer Policy/Computer Config/Windows Settings/Security Settings/Account Policies/Password Policy…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am using the following code to get some info about my PCIController
try
{
ManagementObjectSearcher searcher = new ManagementObjectSearcher("Select * from Win32_PCIController");
foreach (ManagementObject cdrom in searcher.Get())
{
Console.WriteLine("PCIController…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi all, I am really frustrated by the snippet below:
Dim objFSO, varSrc, varDest, varExt
Set objFSO = CreateObject("Scripting.FileSystemObject")
varSrc = WScript.Arguments(0)
varDest = WScript.Arguments(1)
varExt = WScript.Arguments(2)
If objFSO.FolderExists(varSrc) Then
WScript.Echo varSrc
…
>>> More