Questions tagged [systemmanagement]
26 questions
11
votes
4 answers
Why would I choose Powershell over WMI to develop management interfaces?
We are discussing development of an improved management infrastructure for our distributed system.
We use COM, web services and .NET components. Since we're based on Microsoft Windows Server XP/2003, I guess, we basically have two…

user33675
- 1,473
- 11
- 11
5
votes
3 answers
How do I get information about recently connected USB device?
I can catch when usb device is connected with Win32_DeviceChangeEvent
but there are only 3 properties allowed to view
class Win32_DeviceChangeEvent : __ExtrinsicEvent
{
uint8 SECURITY_DESCRIPTOR[];
uint64 TIME_CREATED;
uint16…

Jeremi Sharkboy
- 55
- 2
- 5
3
votes
1 answer
WMI Association of LogicalDisk with DiskPartition
I am trying to put together a list which shows all LogicalDisk instances in my Computer System and the drive letters they have been associated with. Coding is in C#.
The WMI classes Win32_LogicalDiskToPartition, Win32_DiskPartition and…

PaulTheHacker
- 179
- 1
- 8
3
votes
1 answer
Which tool / technology: System management for databases and dependent services
A follow-up on this system management question:
Since I probably will not get much feedback on serverfault I'll give it a try here.
My main concern is to reflect the dependencies between the databases, services ans tasks/jobs I'll have to…

Filburt
- 17,626
- 12
- 64
- 115
2
votes
1 answer
how to access romote windows service with Related ObjectQuery
I want to control (start and stop) a windows service which is in the remote machine. I can connect that machine but I can't access to windows service. Here is my code.
Can you help me?
ConnectionOptions oConn = new ConnectionOptions();
…

cagin
- 5,772
- 14
- 74
- 130
2
votes
1 answer
Extracting SMM (SMI) handlers from BIOS flash image
I can download updated BIOS firmware from motherboard producer site. The image of "BIOS Flash" will be downloaded.
Is it possible to find a SMM (SMI) handlers code in the BIOS image? Should I run the BIOS under BOCHS to get this?
PS SMM is system…

osgx
- 90,338
- 53
- 357
- 513
2
votes
2 answers
Python module to cross platform monitor system statistics?
I'm looking for a python module that will allow me to monitor and log the system statistics of 4 computers. I need this module to be able to:
Work on at least Windows and Debian Linux
Monitor disk usage, memory usage, network usage, cpu load,…

Autumn Reilly
- 35
- 7
1
vote
0 answers
How do I protect connection string passwords in powershell?
I want to be able to securely operate on an IIS website's connection strings using PowerShell. How can I do this safely? I do not want to expose any password information. For example, does the following script have any concerns if you were a…

Daniel Govier
- 61
- 6
1
vote
1 answer
Restoring C drive image from DVD after booting the computer from bootable disc
If I take image of C drive and burn it on DVD, can I restore this image after booting the computer from a bootable disk? If yes, then how?
I am supposing that restoring C drive image in this way will bring my computer to the exact state of the time…

Picarodevosio
- 11
- 1
1
vote
2 answers
Localization in snmp
We have snmp agent in our product, which sends system alerts to snmp server, and our alerts may be in Unicode. We are using 3rd party lib for sending out, which encodes stings into a ASKII byte array by default. Finally we got garbage on…

Armen Yeganyan
- 89
- 8
1
vote
1 answer
EC2 Systems Manager - Install security patches
I am trying to use EC2 Systems Manager with maintenance windows just to apply security patches. I could not find a document that makes this. Does anyone already made this and can provide me a clue?
I know that AWS provide Patch Manager for Windows.

p.magalhaes
- 7,595
- 10
- 53
- 108
1
vote
1 answer
What is the best way to concurrent formatting 1000 disks under centos
I've done this work with an expect script which seems working. But I think it must be a more elegant way to do things like this (is Puppet suitable for this job?). So I searched on Google, get nothing. Any suggestions?
UPDATE: I have 100 machines…

Amos
- 3,238
- 4
- 19
- 41
0
votes
0 answers
Iterating through list selected from ManagementObjectCollection slow
I am trying to help with a slow legacy application that gets certain data through the ManagementObjectCollection class. This function takes around 40 seconds, however it took a little over a minute when getting the data directly from the…

SausageBuscuit
- 1,226
- 2
- 20
- 34
0
votes
0 answers
How to access kallsyms from outside operational system (edk2 SMM driver)?
I'm using EDK2 to write a System Management Mode (SMM) driver. I think it uses "Pure C", given the fact that I'm not able to use standard C library like stdio. Even if I #include it throws me an error undefined reference to "fopen" when I…

Allan Almeida
- 13
- 1
- 5
0
votes
0 answers
How to open and read file from outside the OS / non-OS environment (SMM driver)?
I'm running linux and I want to access /proc/kallsyms from outside the OS. I'm writing an SMM driver (EDK2) that's written in C, but I cannot use stdio functions like fopen, because compiler (GCC) says
undefined reference to "fopen"
even though I…

Allan Almeida
- 13
- 1
- 5