473,396 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Can I initiate a disk rescan with WMI ?

Hi all,

As a part of an automated process we're putting together, I need to do a
disk RESCAN on various machines, and would like to use WMI from C#. I know I
can call out to diskpart.exe and start a rescan, but would prefer to have it
all done with WMI calls.

Thanks,
Butch
Sr. Staff Engineer
Seagate
Jul 21 '05 #1
0 1584

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Roger Bonine | last post by:
Can anyone point me to C# or (even better) VB.NET code to offer remote assistance to a WinXP workstation? I'm writing a helpdesk app and I want the helpdesk user to be able to initiate a Remote...
6
by: martin | last post by:
I want to initiate a union and and have the problem that I sometimes need to use float and sometimes an int. The float values (u.fval) turns up ok but not the ints (u.ival). I tried typecating...
2
by: Larry | last post by:
how to use a class variable without initiate for example: ClassA { int var1; }
1
by: Jordan | last post by:
I'm trying to initiate Postback from client-side script, and here's what I have that doesn't work: I have an <asp:Button> on the same page named btnSave that the user can click (its functionality...
17
by: Zvi Danovich | last post by:
Hi, I am a newby in ASP.NET, and till now wrote only simple "classic" WEB-sites. But - the time came, and now I need that: 1. Server will "listen" for some events on its local machine 2....
0
by: ButchClark | last post by:
Hi all, As a part of an automated process we're putting together, I need to do a disk RESCAN on various machines, and would like to use WMI from C#. I know I can call out to diskpart.exe and...
2
by: jwf | last post by:
I am developming a web application in ASP.NET (VB) and am looking to develop functionality where a user clicks on a link to download a file but at no point can the user see the actual URL link to...
0
by: Bazza Formez | last post by:
Hi, Can anyone suggest a technical solution to this tricky business requirement.... I am developing an online ordering system using ASP.NET. (Orders are entered online from the web by...
4
by: Hamayun Khan | last post by:
Hi I have Install Web content extractor on my pc. Web Content Extractor exe has the following path C:\Program Files\Web Content Extractor\WCExtractor.exe Now I used cmd file to initiate Web...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.